mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
chore: fix e2e for helper
This commit is contained in:
parent
4043da1ea3
commit
2b89d46a74
1 changed files with 2 additions and 2 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue