Skip to content

Commit a207776

Browse files
committed
Fix selectors
1 parent 31b3574 commit a207776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/e2e-tests/addon-onboarding.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ test.describe('addon-onboarding', () => {
4444
await page.getByRole('button', { name: 'Create' }).click();
4545

4646
await expect(page.getByText('You just added your first')).toBeVisible();
47-
await page.getByLabel('Done').click();
47+
await page.getByLabel('Last').click();
4848

4949
await page.getByRole('checkbox', { name: 'Application UI' }).check();
5050
await page.getByRole('checkbox', { name: 'Functional testing' }).check();
5151
await page.getByRole('combobox').selectOption('Web Search');
52-
await page.getByLabel('Submit').click();
52+
await page.getByRole('button', { name: 'Submit' }).click();
5353

5454
await expect(
5555
sbPage.previewIframe().getByRole('heading', { name: 'Configure your project' })

0 commit comments

Comments
 (0)