Skip to content

Commit 0839131

Browse files
authored
Merge pull request #1027 from civictechindex/clean-test-data-941
Prefix test emails/orgs with 'test_' (#941)
2 parents c181acf + 58f2f51 commit 0839131

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cypress/integration/pages/add-org.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ describe('Add Organization Workflow', () => {
55
const AUTOCOMPLETE_COUNTRY = 'united';
66
const AUTOCOMPLETE_ORG = 'hack';
77
const VALID_EMAIL = 'test@test.test';
8-
const VALID_NAME = faker.company.companyName();
9-
const VALID_NAME_2 = faker.company.companyName();
10-
const VALID_PARENT_NAME = faker.company.companyName();
8+
const VALID_NAME = `test_${faker.company.companyName()}`;
9+
const VALID_NAME_2 = `test_${faker.company.companyName()}`;
10+
const VALID_PARENT_NAME = `test_${faker.company.companyName()}`;
1111
const VALID_TAG = 'test-tag';
1212
const VALID_CITY = 'Los Angeles';
1313
const VALID_STATE = 'CA';

cypress/integration/pages/footer.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const faker = require('faker')
33
describe('Footer', () => {
44
const BAD_FORMAT_EMAIL = 'test@'
55
const DUPLICATE_EMAIL = 'test@test.test'
6-
const RANDOM_EMAIL = faker.internet.email();
6+
const RANDOM_EMAIL = `test_${faker.internet.email()}`;
77

88
before(() => {
99
cy.visit('/home')

0 commit comments

Comments
 (0)