Skip to content

Commit

Permalink
fix(locators): add exact (win32, chrome/firefox)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalapkoStanislav committed Oct 23, 2024
1 parent fcd221b commit efaa483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/dashboard/dashboard-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ exports.DashboardPage = class DashboardPage extends BasePage {
this.selectedRadioButtonLabel = page.locator('label[class*="components_forms__radio-label checked"]').first();
this.selectedRadioImageLabel = page.locator('label[class*="checked"] span[class*="text"]').first();
this.onboardingPaginator = page.locator('div[class*="onboarding_questions__paginator"]');
this.onboardingLetsGoBtn = page.getByRole('button', { name: 'Continue' });
this.onboardingLetsGoBtn = page.getByRole('button', { name: 'Continue', exact: true });
this.onboardingFirstHeader = page.locator('*[class*="onboarding_questions__modal-title"]');
this.whatNewsHeader = page.getByText('What’s new in Penpot?', { exact: true });
this.pluginModalHeader = page.getByText('Build Plugins and enhance your workflow', { exact: true });
Expand Down

0 comments on commit efaa483

Please sign in to comment.