Skip to content

Commit

Permalink
Merge pull request #66 from alphagov/reapply-non-prod-publisher-test-…
Browse files Browse the repository at this point in the history
…with-state-mutation

Reapply Mainstream Publisher test from Smokey
  • Loading branch information
mtaylorgds authored Oct 29, 2024
2 parents b4fd0cd + 6cb7d5f commit 9719427
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/publisher.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ test.describe("Publisher", { tag: ["@app-publisher"] }, () => {
await expect(page.locator("#publication-list-container")).toBeVisible();
});

/* This mutates server side state
test(
"should see that the edition has been deleted",
{ tag: ["@app-publisher", "@app-publishing-api", "@notproduction"] },
"Can add and delete an artefact in publisher",
{ tag: ["@app-publisher", "@app-publishing-api", "@not-production"] },
async ({ page }) => {
// Go to the "publisher" landing page
await page.goto("/");
Expand All @@ -35,5 +34,4 @@ test.describe("Publisher", { tag: ["@app-publisher"] }, () => {
await expect(page.getByText("Edition deleted")).toBeVisible();
}
);
*/
});

0 comments on commit 9719427

Please sign in to comment.