You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a separate test user account to avoid deployment conflicts with the main test user account.
extension-e2e-test.affiliated@pixiebrix.test
(password in 1password)
This user already has a team + deployment set up.
Sample e2e test:
import { test, expect } from "../../fixtures/testBase";
// @ts-expect-error -- https://youtrack.jetbrains.com/issue/AQUA-711/Provide-a-run-configuration-for-Playwright-tests-in-specs-with-fixture-imports-only
import { type Page, test as base } from "@playwright/test";
test("#8645 Deployments work", async ({ page }) => {
// Deactivate the only mod
await page.getByLabel("mods-page-actions").click();
await page.getByRole("button", { name: "Deactivate" }).click();
// Deployment modal should pop up. Click Activate
await page.getByRole("button", { name: "Activate" }).click();
// Wait for the error status to potentially pop up
await page.waitForTimeout(1500);
await expect(
page.getByRole("status").getByText("Error updating team deployments"),
).toBeHidden();
// make a better assertion that the mod was activated successfully
});
The text was updated successfully, but these errors were encountered:
twschiller
changed the title
E2E test for activating a deployed mod successfully
E2E test for activating a deployed mod successfully from the extension console
Jun 19, 2024
fungairino
changed the title
E2E test for activating a deployed mod successfully from the extension console
#8647 E2E test for activating a deployed mod successfully from the extension console
Jun 20, 2024
fungairino
changed the title
#8647 E2E test for activating a deployed mod successfully from the extension console
E2E test for activating a deployed mod successfully from the extension console
Jun 20, 2024
User Story
As a developer I want to have an e2e playwright test that covers activating a deployed mod successfully.
Motivation
#8645
More details
Use a separate test user account to avoid deployment conflicts with the main test user account.
extension-e2e-test.affiliated@pixiebrix.test
(password in 1password)
This user already has a team + deployment set up.
Sample e2e test:
The text was updated successfully, but these errors were encountered: