♻️ (playwright.config.ts): disable fullyParallel and reduce workers to 1 for stability
♻️ (playwright.config.ts): comment out headless option for Chrome ♻️ (playwright.config.ts): comment out Firefox configuration for simplicity ✅ (chatInputOutputUser.spec.ts): update test assertions for better readability and accuracy ✅ (flowSettings.spec.ts, store.spec.ts): add steps to close modal after saving settings to ensure proper test flow and cleanup
This commit is contained in:
parent
8976e30f41
commit
778abd7bdb
4 changed files with 24 additions and 20 deletions
|
|
@ -140,7 +140,7 @@ test("user must be able to see output inspection", async ({ page }) => {
|
|||
|
||||
await page.getByTestId("icon-ScanEye").last().click();
|
||||
|
||||
const textAreaOutputValue = await page.getByPlaceholder("Empty").inputValue();
|
||||
expect(textAreaOutputValue).not.toBe("");
|
||||
expect(textAreaOutputValue).not.toBe(null);
|
||||
await page.getByText("Sender", { exact: true }).isVisible();
|
||||
await page.getByText("Type", { exact: true }).isVisible();
|
||||
await page.getByText("User", { exact: true }).last().isVisible();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -43,8 +43,11 @@ test("flowSettings", async ({ page }) => {
|
|||
.fill(
|
||||
"Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test Flow Name Test",
|
||||
);
|
||||
await page.getByTestId("save-flow-settings-button").click();
|
||||
|
||||
await page.getByText("Save").last().click();
|
||||
|
||||
await page.getByText("Close").last().click();
|
||||
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.getByText("Changes saved successfully").isVisible();
|
||||
|
|
|
|||
|
|
@ -250,6 +250,7 @@ test("should share component with share button", async ({ page }) => {
|
|||
.getByPlaceholder("Flow description")
|
||||
.inputValue();
|
||||
await page.getByText("Save").last().click();
|
||||
await page.getByText("Close").last().click();
|
||||
|
||||
await page.getByTestId("icon-Share3").first().click();
|
||||
await page.getByText("Name:").isVisible();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue