GithubHelp home page GithubHelp logo

cythilya / nightwatch101 Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 18.0 25.24 MB

使用 Nightwatch 實現 End-to-End Testing ★

License: MIT License

JavaScript 100.00%
automated-testing end-to-end-testing front-end-testing nightwatch selenium webdriver

nightwatch101's People

Contributors

coding-chris-kao avatar cythilya avatar tigercosmos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nightwatch101's Issues

Nightwatch101 #7:指令 Part 1 和 Nightwatch101 #8:指令 Part 2 請問cookie 是沿用嗎?

因為登入的cookie 和 未登入的 cookie 是有不同的用途。
但是我不曉得你的兩個測試案例是有連慣性嗎?還是各別分開?
我的意思是,你是拿 part 1 登入後的 cookie 拿去做後面 part 2 的動作嗎?( 看起來不像 )
part 2 比較像是沒登入直接到露天取一個未登入的cookie ,我這樣說對嗎?

Nightwatch101 #7:指令 Part 1
Nightwatch101 #8:指令 Part 2

如果兩個案例是分開的,
我覺得測試案例,可以加一個 未登入的 cookie,來去拜託要登入才能用的頁面。

希望後面的案例能有更多實務上面的例子或情境。

最後感謝@cythilya 的用心教學。 👏 🎉

請問一下 設置

想請問一下 當我執行 npm test後
他顯示nightwatch --env local
Starting selenium server in parallel mode...
然後就沒有任何動作了

不知道是哪裡出了問題
看一些教學只大約說了
chromedriver.exe 2.15
selenium-server-standalone-3.8.1.jar
但是不知到實際要放的位置在哪
跟有甚麼原因為造成 停在
Starting selenium server in parallel mode...
的狀態下

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.