mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Add comments to jest integration tests about users used in tests
This commit is contained in:
parent
a124d5d364
commit
a060311711
7 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
// these tests do not sign in as a user
|
||||
|
||||
const SeleniumHelper = require('./selenium-helpers.js');
|
||||
|
||||
const {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// these tests do not sign in as a user
|
||||
|
||||
const SeleniumHelper = require('./selenium-helpers.js');
|
||||
|
||||
const {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// these tests do not sign in as a user
|
||||
|
||||
const SeleniumHelper = require('./selenium-helpers.js');
|
||||
|
||||
const {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// These tests sign in as user #1
|
||||
|
||||
const SeleniumHelper = require('./selenium-helpers.js');
|
||||
|
||||
const {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// These tests do not sign in as a user
|
||||
|
||||
const SeleniumHelper = require('./selenium-helpers.js');
|
||||
|
||||
const {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// These tests do not sign in with a user
|
||||
|
||||
const SeleniumHelper = require('./selenium-helpers.js');
|
||||
|
||||
const {
|
||||
|
@ -35,7 +37,7 @@ describe('www-integration project-page signed out', () => {
|
|||
afterAll(async () => await driver.quit());
|
||||
|
||||
// LOGGED OUT TESTS
|
||||
|
||||
|
||||
test('Find fullscreen button', async () => {
|
||||
await clickXpath('//div[starts-with(@class, "stage_green-flag-overlay")]');
|
||||
await clickXpath('//img[contains(@alt, "Enter full screen mode")]');
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// These tests sign in with user #0 (no number for the username)
|
||||
|
||||
const SeleniumHelper = require('./selenium-helpers.js');
|
||||
|
||||
const {
|
||||
|
|
Loading…
Reference in a new issue