Skip to content

Failed to create a new project with e2e Nightwatch configuration #4619

@Maorey

Description

@Maorey

Version

4.0.0-rc.4

Reproduction link

https://github.com/vuejs/vue-cli/tree/v4.0.0-rc.4

Environment info

Irrelevant

Steps to reproduce

  1. check all functions
  2. pick Nightwatch

What is expected?

Create project success

What is actually happening?

error: Expected an assignment or function call and instead saw an expression (no-unused-expressions) at a\tests\e2e\specs\test-with-pageobjects.js:18:5:
  16 |     const app = homepage.section.app
  17 |     app.assert.elementCount('@logo', 1)
> 18 |     app.expect.section('@welcome').to.be.visible
     |     ^
  19 |     app.expect.section('@headline').text.to.match(/^Welcome to Your Vue\.js (.*)App$/)
  20 | 
  21 |     browser.end()

┐(: ´ ゞ`)┌


The project template created can be running
(I just want to see changes of the project template)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions