Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

fix up update tests

Abi Raja726ecafd35d1
diff --git a/frontend/src/tests/qa.test.ts b/frontend/src/tests/qa.test.ts
index c05423d5..04593c8e 100644
--- a/frontend/src/tests/qa.test.ts
+++ b/frontend/src/tests/qa.test.ts
@@ -82,8 +82,8 @@ describe("e2e tests", () => {
// Update tests - for every model (doesn’t need to be repeated for each stack - fix to HTML Tailwind only)
models.forEach((model) => {
["html_tailwind"].forEach((stack) => {
- it.only(
- `Update for : ${model}`,
+ it(
+ `update: ${model}`,
async () => {
const app = new App(page, stack, model, `update_${model}_${stack}`);
await app.init();
@@ -93,12 +93,12 @@ describe("e2e tests", () => {
// Regenerate works for v1
await app.regenerate();
// Make an update
- await app.edit("make the header blue", "v2");
+ await app.edit("make the button background blue", "v2");
// Make another update
- await app.edit("make all text italic", "v3");
+ await app.edit("make the text italic", "v3");
// Branch off v2 and make an update
await app.clickVersion("v2");
- await app.edit("make all text red", "v4");
+ await app.edit("make the text white", "v4");
},
90 * 1000
);