more test fixing
This commit is contained in:
@@ -119,12 +119,6 @@ describe('Application life cycle test', function () {
|
|||||||
await visible(By.id('user_email'));
|
await visible(By.id('user_email'));
|
||||||
}
|
}
|
||||||
|
|
||||||
async function dismissHelp() {
|
|
||||||
await browser.get('https://' + app.fqdn + '/home');
|
|
||||||
await visible(By.xpath('//button[@title = "Dismiss"]'));
|
|
||||||
await browser.findElement(By.xpath('//button[@title ="Dismiss"]')).click();
|
|
||||||
}
|
|
||||||
|
|
||||||
async function checkTimeline() {
|
async function checkTimeline() {
|
||||||
await browser.get('https://' + app.fqdn + '/home');
|
await browser.get('https://' + app.fqdn + '/home');
|
||||||
await visible(By.xpath('//span[contains(text(), "Your home timeline is empty")]'));
|
await visible(By.xpath('//span[contains(text(), "Your home timeline is empty")]'));
|
||||||
@@ -170,7 +164,6 @@ describe('Application life cycle test', function () {
|
|||||||
it('can get app information', getAppInfo);
|
it('can get app information', getAppInfo);
|
||||||
it('registration is disabled', checkRegistration.bind(null, 'none'));
|
it('registration is disabled', checkRegistration.bind(null, 'none'));
|
||||||
it('can OIDC login', loginOIDC.bind(null, username, password, false));
|
it('can OIDC login', loginOIDC.bind(null, username, password, false));
|
||||||
it('can dismiss help', dismissHelp);
|
|
||||||
it('can see timeline', checkTimeline);
|
it('can see timeline', checkTimeline);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user