more test fixing

This commit is contained in:
Girish Ramakrishnan 2024-10-18 23:13:31 +02:00
parent 184a246e6c
commit 0b578dd5f1

View file

@ -119,12 +119,6 @@ describe('Application life cycle test', function () {
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() {
await browser.get('https://' + app.fqdn + '/home');
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('registration is disabled', checkRegistration.bind(null, 'none'));
it('can OIDC login', loginOIDC.bind(null, username, password, false));
it('can dismiss help', dismissHelp);
it('can see timeline', checkTimeline);
it('can logout', logout);