Skip to content

Commit 9459f16

Browse files
committed
fix: tests for updated example
1 parent 6936bfc commit 9459f16

File tree

1 file changed

+2
-2
lines changed
  • special-pages/pages/new-tab/app/remote-messaging-framework/integration-tests

1 file changed

+2
-2
lines changed

special-pages/pages/new-tab/app/remote-messaging-framework/integration-tests/rmf.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ test.describe('newtab remote messaging framework rmf', () => {
2929
await ntp.reducedMotion();
3030
await ntp.openPage({ rmf: 'big_two_action' });
3131

32-
await page.getByRole('button', { name: 'Take Survey' }).click();
32+
await page.getByRole('button', { name: 'View Results' }).click();
3333
await ntp.mocks.waitForCallCount({ method: 'rmf_primaryAction', count: 1 });
3434
});
3535

@@ -38,7 +38,7 @@ test.describe('newtab remote messaging framework rmf', () => {
3838
await ntp.reducedMotion();
3939
await ntp.openPage({ rmf: 'big_two_action' });
4040

41-
await page.getByRole('button', { name: 'Remind me' }).click();
41+
await page.getByRole('button', { name: 'Remind me later' }).click();
4242
await ntp.mocks.waitForCallCount({ method: 'rmf_secondaryAction', count: 1 });
4343
});
4444
});

0 commit comments

Comments
 (0)