replicated load project test but in maximized browser with stage zoomed.
This commit is contained in:
1 parent
648cd66fc4
commit
971f16d6f3
1 file changed
+15
@@ -76,6 +76,21 @@ describe('costumes, sounds and variables', () => {
|
||||
await expect(logs).toEqual([]);
|
||||
});
|
||||
|
||||
test('Load a project by ID (fullscreen)', async () => {
|
||||
driver.manage()
|
||||
.window()
|
||||
.maximize();
|
||||
const projectId = '96708228';
|
||||
await clickXpath('//img[@title="Zoom Control"]');
|
||||
await driver.get(`file://${uri}#${projectId}`);
|
||||
await new Promise(resolve => setTimeout(resolve, 2000));
|
||||
await clickXpath('//img[@title="Go"]');
|
||||
await new Promise(resolve => setTimeout(resolve, 2000));
|
||||
await clickXpath('//img[@title="Stop"]');
|
||||
const logs = await getLogs(errorWhitelist);
|
||||
await expect(logs).toEqual([]);
|
||||
});
|
||||
|
||||
test('Creating variables', async () => {
|
||||
await driver.get(`file://${uri}`);
|
||||
await clickText('Blocks');
|
||||
|
||||
Reference in new issue
Block a user