Browse Source

test: duplicate project confirmation

Signed-off-by: mertmit <mertmit99@gmail.com>
feat/export-nest
mertmit 2 years ago
parent
commit
169b804c6a
  1. 2
      tests/playwright/pages/ProjectsPage/index.ts

2
tests/playwright/pages/ProjectsPage/index.ts

@ -55,7 +55,7 @@ export class ProjectsPage extends BasePage {
await this.rootPage.getByTestId('dupe-project-' + name).click();
// click duplicate confirmation "Do you want to duplicate 'sampleREST0' project?"
// assert message on duplicate confirmation page
const dupeProjectSubmitAction = () => this.rootPage.getByRole('button', { name: 'Yes' }).click();
const dupeProjectSubmitAction = () => this.rootPage.getByRole('button', { name: 'Confirm' }).click();
await this.waitForResponse({
uiAction: dupeProjectSubmitAction,

Loading…
Cancel
Save