Rocket.Chat.ReactNative/appium/tests/specs/011-onboarding.e2e.js

21 lines
439 B
JavaScript

const { launchApp, equal } = require('../helpers');
const { login, logout } = require('../helpers/login');
describe('Onboarding', () => {
before(() => {
launchApp();
});
describe('Login', () => {
it('Login in app', async () => {
await login();
});
it('Logout in app', async () => {
await logout();
const login = await getText('new-server-view-input');
equal(login, 'Ex. your-company.rocket.chat');
});
});
});