Browse Source

fix(playwrights): use adjacent sibling combinator for required button

pull/5328/head
Wing-Kam Wong 2 years ago
parent
commit
cbf2431703
  1. 2
      tests/playwright/pages/Dashboard/Form/index.ts

2
tests/playwright/pages/Dashboard/Form/index.ts

@ -64,7 +64,7 @@ export class FormPage extends BasePage {
}
getFormFieldsRequired() {
return this.get().locator('[data-testid="nc-form-input-required"]');
return this.get().locator('[data-testid="nc-form-input-required"] + button');
}
getFormFieldsInputLabel() {

Loading…
Cancel
Save