remove unneeded test
This commit is contained in:
parent
ae4e726aa9
commit
688e6d53a1
14
test/test.js
14
test/test.js
|
@ -84,19 +84,6 @@ describe('Application life cycle test', function () {
|
||||||
await browser.wait(until.elementLocated(By.xpath(`//span[text()="${FOLDER}"]`)), TEST_TIMEOUT);
|
await browser.wait(until.elementLocated(By.xpath(`//span[text()="${FOLDER}"]`)), TEST_TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function removeFolder() {
|
|
||||||
await browser.get('https://' + app.fqdn);
|
|
||||||
await waitForElement(By.xpath('//span[text()="Actions"]'));
|
|
||||||
await browser.findElement(By.css('#folders button')).click();
|
|
||||||
await browser.sleep(3000); //No way to check for visibility of angular-js components
|
|
||||||
await browser.findElement(By.css('#folder-0 button[ng-click*=editFolder]')).click();
|
|
||||||
await browser.sleep(3000); //No way to check for visibility of angular-js components
|
|
||||||
await browser.findElement(By.xpath('//button[@data-target="#remove-folder-confirmation"]')).click();
|
|
||||||
await browser.sleep(3000); //No way to check for visibility of angular-js components
|
|
||||||
await browser.findElement(By.css('[ng-click*=deleteFolder]')).click();
|
|
||||||
await browser.sleep(3000); //This needs to run for some time
|
|
||||||
}
|
|
||||||
|
|
||||||
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
||||||
|
|
||||||
it('install app', async function () {
|
it('install app', async function () {
|
||||||
|
@ -131,7 +118,6 @@ describe('Application life cycle test', function () {
|
||||||
|
|
||||||
it('can load page', loadPage);
|
it('can load page', loadPage);
|
||||||
it('can check folder', checkFolder);
|
it('can check folder', checkFolder);
|
||||||
it('can remove folder', removeFolder);
|
|
||||||
|
|
||||||
it('uninstall app', async function () {
|
it('uninstall app', async function () {
|
||||||
await browser.get('about:blank');
|
await browser.get('about:blank');
|
||||||
|
|
Loading…
Reference in New Issue