mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-24 07:06:38 +00:00
35 lines
996 B
TypeScript
35 lines
996 B
TypeScript
|
import { ServersPage } from './helpers/server.po';
|
||
|
import { TestHelper } from './helpers/common.po';
|
||
|
import { element } from 'protractor';
|
||
|
import { ProjectsPage } from './helpers/project.po';
|
||
|
|
||
|
fdescribe('Project map page', () => {
|
||
|
let serversPage: ServersPage;
|
||
|
let projectsPage: ProjectsPage;
|
||
|
let helper: TestHelper;
|
||
|
|
||
|
beforeEach(async () => {
|
||
|
serversPage = new ServersPage();
|
||
|
projectsPage = new ProjectsPage();
|
||
|
helper = new TestHelper();
|
||
|
|
||
|
serversPage.maximizeWindow();
|
||
|
await serversPage.navigateToServersPage();
|
||
|
await serversPage.clickAddServer();
|
||
|
await serversPage.navigateToServerProjects();
|
||
|
await projectsPage.openAddProjectDialog();
|
||
|
helper.sleep(2000);
|
||
|
await projectsPage.createProject();
|
||
|
helper.sleep(2000);
|
||
|
});
|
||
|
|
||
|
it('user should have possibility to add nodes to map', async () => {
|
||
|
// arrange
|
||
|
|
||
|
//act
|
||
|
|
||
|
//assert
|
||
|
expect(true).toBe(true);
|
||
|
});
|
||
|
});
|