Add comments to jest integration tests about users used in tests

This commit is contained in:
BryceLTaylor 2021-08-18 10:04:28 -04:00
parent a124d5d364
commit a060311711
7 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,5 @@
// these tests do not sign in as a user
const SeleniumHelper = require('./selenium-helpers.js'); const SeleniumHelper = require('./selenium-helpers.js');
const { const {

View file

@ -1,3 +1,5 @@
// these tests do not sign in as a user
const SeleniumHelper = require('./selenium-helpers.js'); const SeleniumHelper = require('./selenium-helpers.js');
const { const {

View file

@ -1,3 +1,5 @@
// these tests do not sign in as a user
const SeleniumHelper = require('./selenium-helpers.js'); const SeleniumHelper = require('./selenium-helpers.js');
const { const {

View file

@ -1,3 +1,5 @@
// These tests sign in as user #1
const SeleniumHelper = require('./selenium-helpers.js'); const SeleniumHelper = require('./selenium-helpers.js');
const { const {

View file

@ -1,3 +1,5 @@
// These tests do not sign in as a user
const SeleniumHelper = require('./selenium-helpers.js'); const SeleniumHelper = require('./selenium-helpers.js');
const { const {

View file

@ -1,3 +1,5 @@
// These tests do not sign in with a user
const SeleniumHelper = require('./selenium-helpers.js'); const SeleniumHelper = require('./selenium-helpers.js');
const { const {
@ -35,7 +37,7 @@ describe('www-integration project-page signed out', () => {
afterAll(async () => await driver.quit()); afterAll(async () => await driver.quit());
// LOGGED OUT TESTS // LOGGED OUT TESTS
test('Find fullscreen button', async () => { test('Find fullscreen button', async () => {
await clickXpath('//div[starts-with(@class, "stage_green-flag-overlay")]'); await clickXpath('//div[starts-with(@class, "stage_green-flag-overlay")]');
await clickXpath('//img[contains(@alt, "Enter full screen mode")]'); await clickXpath('//img[contains(@alt, "Enter full screen mode")]');

View file

@ -1,3 +1,5 @@
// These tests sign in with user #0 (no number for the username)
const SeleniumHelper = require('./selenium-helpers.js'); const SeleniumHelper = require('./selenium-helpers.js');
const { const {