From 2b89d46a741f29c0c5083be8ea47cc0b06e499d9 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Wed, 27 Mar 2019 08:01:28 +0100 Subject: [PATCH] chore: fix e2e for helper --- test/e2e/e2e.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/e2e.spec.js b/test/e2e/e2e.spec.js index e76a03fd6..13b07286b 100644 --- a/test/e2e/e2e.spec.js +++ b/test/e2e/e2e.spec.js @@ -69,12 +69,12 @@ describe('/ (Verdaccio Page)', () => { test('should match title with first step', async () => { 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 () => { 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 () => {