fix(keypairListComponent): add data-testid attribute to input elements for better testability
fix(codeAreaModalComponent.spec): remove unnecessary click action fix(floatComponent.spec): remove unnecessary click action fix(intComponent.spec): remove unnecessary click action fix(keyPairListComponent.spec): remove unnecessary click action fix(promptModalComponent.spec): remove unnecessary comments and unused code
This commit is contained in:
parent
fc44c3e195
commit
08522720dc
6 changed files with 23 additions and 39 deletions
|
|
@ -31,10 +31,6 @@ test("CodeAreaModalComponent", async ({ page }) => {
|
|||
|
||||
await page.locator('//*[@id="checkAndSaveBtn"]').click();
|
||||
|
||||
await page
|
||||
.locator('//*[@id="react-flow-id"]/div[1]/div[1]/div[1]/div/div[2]/div')
|
||||
.click();
|
||||
await page.getByTestId("genericModalBtnSave").click();
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
await page.getByTestId("edit-button-modal").click();
|
||||
|
||||
|
|
@ -112,9 +108,6 @@ test("CodeAreaModalComponent", async ({ page }) => {
|
|||
if (elementCount === 0) {
|
||||
expect(true).toBeTruthy();
|
||||
|
||||
await page
|
||||
.locator('//*[@id="react-flow-id"]/div[1]/div[1]/div[1]/div/div[2]/div')
|
||||
.click();
|
||||
await page.getByTestId("more-options-modal").click();
|
||||
await page.getByTestId("edit-button-modal").click();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue