From 5cacd0c6c1480ae46f2c1b8e0cf08986cbc17a48 Mon Sep 17 00:00:00 2001 From: Bimisola Daniel Date: Fri, 23 Jul 2021 07:48:58 +0100 Subject: [PATCH] Haven't started --- ReadMe.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index d2b200b45..a06e6d199 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -4,6 +4,8 @@ The module challenge is the afternoon project or assignment that students work t ## Single Page Applications +so im starting this at 1am + ## Cypress.io ## Objectives @@ -28,25 +30,25 @@ This project is a continuation of the work you have done previously. - [ ] Install Cypress with npm. `npm install cypress --save-dev` - [ ] run `npx cypress open`, After a moment, the Cypress Test Runner will launch. -- [ ] Locate the integration folder at cypress/integration in your code editor -- [ ] Create a form_test.js file. -- [ ] Watch the Cypress Test Runner update the list of specs. +- [ ] Locate the integration folder at cypress/integration in your code editor +- [ ] Create a form_test.js file. +- [ ] Watch the Cypress Test Runner update the list of specs. - [ ] Launch Cypress in interactive mode. - -*Note:* + +_Note:_ You will see an error that says "No tests found in your file:" with your particular file path. This is because we have not written any tests yet. Now you will start writing tests. ### Task 2a: Write and Run Tests (MVP) -In order to complete this challenge you will need to write and run the following tests. They do *not* need to pass, so long as the reasons they are failing is legitimate. +In order to complete this challenge you will need to write and run the following tests. They do _not_ need to pass, so long as the reasons they are failing is legitimate. Set up tests that will... -- [ ] Get the `Name` input and type a name in it. -- [ ] Use an assertion to check if the text inputted contains the name you provided (Hint: use the .should assertion) -- [ ] Get the `Email` input and type an email address in it +- [ ] Get the `Name` input and type a name in it. +- [ ] Use an assertion to check if the text inputted contains the name you provided (Hint: use the .should assertion) +- [ ] Get the `Email` input and type an email address in it - [ ] Get the `password` input and type a password in it -- [ ] Set up a test that will check to see if a user can check the terms of service box +- [ ] Set up a test that will check to see if a user can check the terms of service box - [ ] Check to see if a user can submit the form data - [ ] Check for form validation if an input is left empty @@ -58,9 +60,9 @@ If you have time, write and run different tests based on common issues you have **What if not all of my tests pass?** -*Depending on the quality of your code from previous lessons, your tests might not pass. That is quite alright! The purpose of this project is to design tests that point out errors. As such, you just need to be sure that the tests are failing because of issues with your web page code, not issues with your test code.* +_Depending on the quality of your code from previous lessons, your tests might not pass. That is quite alright! The purpose of this project is to design tests that point out errors. As such, you just need to be sure that the tests are failing because of issues with your web page code, not issues with your test code._ -**** +--- ## Resources @@ -70,4 +72,4 @@ If you have time, write and run different tests based on common issues you have ## Submission Format -* [ ] Submit a Pull-Request to merge `` Branch into `main` (student's Repo). **Please don't merge your own pull request** +- [ ] Submit a Pull-Request to merge `` Branch into `main` (student's Repo). **Please don't merge your own pull request**