chore: fix e2e for helper

This commit is contained in:
Juan Picado @jotadeveloper 2019-03-27 08:01:28 +01:00
parent 4043da1ea3
commit 2b89d46a74
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
1 changed files with 2 additions and 2 deletions

View File

@ -69,12 +69,12 @@ describe('/ (Verdaccio Page)', () => {
test('should match title with first step', async () => { test('should match title with first step', async () => {
const text = await page.evaluate(() => document.querySelector('#help-card').textContent); const text = await page.evaluate(() => document.querySelector('#help-card').textContent);
expect(text).toContain('$ npm adduser --registry http://0.0.0.0:55558'); expect(text).toContain('npm adduser --registry http://0.0.0.0:55558');
}); });
test('should match title with second step', async () => { test('should match title with second step', async () => {
const text = await page.evaluate(() => document.querySelector('#help-card').textContent); const text = await page.evaluate(() => document.querySelector('#help-card').textContent);
expect(text).toContain('$ npm publish --registry http://0.0.0.0:55558'); expect(text).toContain('npm publish --registry http://0.0.0.0:55558');
}); });
test('should match button Login to sign in', async () => { test('should match button Login to sign in', async () => {