Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const assert = require('assert');
- describe('A teacher who wants to start a session', () => {
- it('should load tich', () => {
- browser.url('https://tich.bunsan.io');
- const title = browser.getTitle();
- expect(title === "Tich");
- });
- it('should be able to login', () => {
- $('[type=email]').value = 'luis.toledo@bunsan.io';
- $('[type=password]').value = 'pass1234';
- $('[type=submit]').click();
- expect(browser.getTitle() === 'Courses')
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement