Skip to content

[PM-37816] Remove check for new tab#492

Merged
audreyality merged 4 commits into
mainfrom
platform/pm-37816/remove-check-for-new-tab
May 20, 2026
Merged

[PM-37816] Remove check for new tab#492
audreyality merged 4 commits into
mainfrom
platform/pm-37816/remove-check-for-new-tab

Conversation

@trmartin4

@trmartin4 trmartin4 commented May 20, 2026

Copy link
Copy Markdown
Member

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-37816

📔 Objective

Removes checks for the welcome page, as that page is removed in bitwarden/clients#20755.

The method is re-scoped to just close all other tabs and return the first one, as it would have previously if the welcome tab were disabled.

@trmartin4 trmartin4 changed the title Remove check for new tab [PM-37816] Remove check for new tab May 20, 2026
@trmartin4 trmartin4 marked this pull request as ready for review May 20, 2026 18:58
@trmartin4 trmartin4 requested a review from a team as a code owner May 20, 2026 18:58
@trmartin4 trmartin4 requested a review from dan-livefront May 20, 2026 18:58
Comment thread tests/fixtures.browser.ts Outdated
process.env.CI === "true",
);
await test.step("Obtain the test page", async () => {
testPage = await obtainTestPage(context);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-blocking nit; this line can just go in at the start of the "Configure the environment" test step, but this is functional as well

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed by 2891eb3

Comment thread benchmarks/fixtures.benchmark.ts Outdated
@@ -89,13 +88,8 @@ export function createBenchmarkTest(
extensionSetup: async ({ context, extensionId }, use) => {
let testPage: Page;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking nit; you could also do

Suggested change
let testPage: Page;
const testPage: Page = await obtainTestPage(context);

and forgo the extra test step

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed by 2891eb3

@audreyality audreyality merged commit 92aca99 into main May 20, 2026
25 checks passed
@audreyality audreyality deleted the platform/pm-37816/remove-check-for-new-tab branch May 20, 2026 21:53
audreyality pushed a commit that referenced this pull request May 21, 2026
* Revert "[PM-37816] Remove check for new tab (#492)"

This reverts commit 92aca99.

* fix button locator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants