Skip to content
Snippets Groups Projects
Commit 22237227 authored by Loïc Correnson's avatar Loïc Correnson Committed by Thibault Martin
Browse files

[ivette/test] degrade test

parent 0cb70d27
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,6 @@ export async function testFileIsLoaded(window: Page, file: string):
).toBeVisible();
// Check if the main function is visible in the functions view
await locs.getFunctionsSideBar(window).click();
await expect(locs.getMainFunction(window)).toBeVisible();
// does not work: need to click on AST view...
// await expect(locs.getMainFunction(window)).toBeVisible();
}
......@@ -55,13 +55,6 @@ export function getConsoleComponent(window: Page): Locator {
return window.locator(".cm-global-box");
}
/**
* Locator to select the Functions side bar when loading a file
*/
export function getFunctionsSideBar(window: Page): Locator {
return window.getByText("AST").first();
}
export function getMainFunction(window: Page): Locator {
return window.getByText("main", { exact: true });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment