Skip to content

Commit 490b70e

Browse files
PatAKnightdzemanov
authored andcommitted
chore(e2e): switch the order of the tests
Signed-off-by: Patrick <[email protected]>
1 parent e397324 commit 490b70e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

e2e-tests/playwright/e2e/scaffolder-backend-module-annotator.spec.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -195,21 +195,6 @@ test.describe.serial("Test Scaffolder Backend Module Annotator Actions", () => {
195195
);
196196
});
197197

198-
test("Verify Registered Template has templated version in entity Raw Yaml", async () => {
199-
await uiHelper.openSidebar("Catalog");
200-
await uiHelper.selectMuiBox("Kind", "Template");
201-
202-
await uiHelper.searchInputPlaceholder("Create React App Template\n");
203-
await uiHelper.verifyRowInTableByUniqueText("Create React App Template", [
204-
"website",
205-
]);
206-
await uiHelper.clickLink("Create React App Template");
207-
208-
await catalogImport.inspectEntityAndVerifyYaml(
209-
`backstage.io/template-version: 0.0.1`,
210-
);
211-
});
212-
213198
test("Verify Registered Component has templated version in entity Raw Yaml", async () => {
214199
await uiHelper.openCatalogSidebar("Component");
215200
await uiHelper.searchInputPlaceholder(reactAppDetails.componentName);
@@ -225,6 +210,21 @@ test.describe.serial("Test Scaffolder Backend Module Annotator Actions", () => {
225210
);
226211
});
227212

213+
test("Verify Registered Template has templated version in entity Raw Yaml", async () => {
214+
await uiHelper.openSidebar("Catalog");
215+
await uiHelper.selectMuiBox("Kind", "Template");
216+
217+
await uiHelper.searchInputPlaceholder("Create React App Template\n");
218+
await uiHelper.verifyRowInTableByUniqueText("Create React App Template", [
219+
"website",
220+
]);
221+
await uiHelper.clickLink("Create React App Template");
222+
223+
await catalogImport.inspectEntityAndVerifyYaml(
224+
`backstage.io/template-version: 0.0.1`,
225+
);
226+
});
227+
228228
test.afterAll(async () => {
229229
await APIHelper.githubRequest(
230230
"DELETE",

0 commit comments

Comments
 (0)