Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add task solution #929

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1. Replace `<your_account>` with your Github username in the link
- [DEMO LINK](https://<your_account>.github.io/js_task_fix_form_DOM/)
- [DEMO LINK](https://DamianAdamczewski.github.io/js_task_fix_form_DOM/)
2. Follow [this instructions](https://mate-academy.github.io/layout_task-guideline/)
- Run `npm run test` command to test your code;
- Run `npm run test:only -- -n` to run fast test ignoring linter;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@linthtml/linthtml": "^0.3.2",
"@mate-academy/eslint-config": "*",
"@mate-academy/linthtml-config": "0.0.1",
"@mate-academy/scripts": "^0.7.12",
"@mate-academy/scripts": "^1.2.8",
"@mate-academy/stylelint-config": "0.0.9",
"colors": "^1.3.3",
"cypress": "^5.6.0",
Expand Down
Binary file added reports/assets/MaterialIcons-Regular.woff
Binary file not shown.
Binary file added reports/assets/MaterialIcons-Regular.woff2
Binary file not shown.
14 changes: 14 additions & 0 deletions reports/assets/app.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions reports/assets/app.js

Large diffs are not rendered by default.

Binary file added reports/assets/roboto-light-webfont.woff
Binary file not shown.
Binary file added reports/assets/roboto-light-webfont.woff2
Binary file not shown.
Binary file added reports/assets/roboto-medium-webfont.woff
Binary file not shown.
Binary file added reports/assets/roboto-medium-webfont.woff2
Binary file not shown.
Binary file added reports/assets/roboto-regular-webfont.woff
Binary file not shown.
Binary file added reports/assets/roboto-regular-webfont.woff2
Binary file not shown.
2 changes: 2 additions & 0 deletions reports/report.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!doctype html>
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Mochawesome Report</title><link rel="stylesheet" href="assets\app.css"/></head><body data-raw="{&quot;stats&quot;:{&quot;suites&quot;:1,&quot;tests&quot;:12,&quot;passes&quot;:12,&quot;pending&quot;:0,&quot;failures&quot;:0,&quot;start&quot;:&quot;2023-11-08T10:45:25.491Z&quot;,&quot;end&quot;:&quot;2023-11-08T10:45:26.423Z&quot;,&quot;duration&quot;:832,&quot;testsRegistered&quot;:12,&quot;passPercent&quot;:100,&quot;pendingPercent&quot;:0,&quot;other&quot;:0,&quot;hasOther&quot;:false,&quot;skipped&quot;:0,&quot;hasSkipped&quot;:false},&quot;results&quot;:[{&quot;uuid&quot;:&quot;ef667d1e-30a3-4434-9b42-1d09df39cfa7&quot;,&quot;title&quot;:&quot;&quot;,&quot;fullFile&quot;:&quot;cypress\\integration\\jsTaskFixFormDOM.spec.js&quot;,&quot;file&quot;:&quot;cypress\\integration\\jsTaskFixFormDOM.spec.js&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[],&quot;suites&quot;:[{&quot;uuid&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;title&quot;:&quot;Input field&quot;,&quot;fullFile&quot;:&quot;&quot;,&quot;file&quot;:&quot;&quot;,&quot;beforeHooks&quot;:[],&quot;afterHooks&quot;:[],&quot;tests&quot;:[{&quot;title&quot;:&quot;should have placeholder for first name in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have placeholder for first name in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:273,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;slow&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-name&#x27;).should(&#x27;have.attr&#x27;, &#x27;placeholder&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;ed3b7f3e-8863-4038-8b65-e8f8a6b21df2&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have placeholder for last name in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have placeholder for last name in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:56,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-last-name&#x27;).should(&#x27;have.attr&#x27;, &#x27;placeholder&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;4e9cc72f-5758-41eb-9cdf-71ec5dde7377&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have placeholder for email in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have placeholder for email in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:55,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-email&#x27;).should(&#x27;have.attr&#x27;, &#x27;placeholder&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;f8bfdc36-fc8c-405a-b0a0-375a5ec639f9&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have placeholder for password in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have placeholder for password in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:62,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-password&#x27;).should(&#x27;have.attr&#x27;, &#x27;placeholder&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;329d9a5d-3909-44d4-ae37-26ae7678edb4&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have placeholder for email in sign in form&quot;,&quot;fullTitle&quot;:&quot;Input field should have placeholder for email in sign in form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:47,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-in-email&#x27;).should(&#x27;have.attr&#x27;, &#x27;placeholder&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;5b433a51-e7e9-4066-b56d-d6d1338e64c8&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have placeholder for password in sign in form&quot;,&quot;fullTitle&quot;:&quot;Input field should have placeholder for password in sign in form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:55,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-in-password&#x27;).should(&#x27;have.attr&#x27;, &#x27;placeholder&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;316a03c7-42d7-40c4-8fca-7f9ef7322d32&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have label for first name in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have label for first name in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:49,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-name&#x27;).parent().children(&#x27;label&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;e07701f7-cfc7-4fac-807f-0fef23530e57&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have label for last name in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have label for last name in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:48,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-last-name&#x27;).parent().children(&#x27;label&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;9dc6aefb-278e-4e1a-af21-15056b650da0&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have label for email in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have label for email in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:50,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-password&#x27;).parent().children(&#x27;label&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;55f5aaff-1f84-4b6a-b848-c319f4ffa8e8&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have label for password in sign up form&quot;,&quot;fullTitle&quot;:&quot;Input field should have label for password in sign up form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:46,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-up-password&#x27;).parent().children(&#x27;label&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;e6aac454-e663-40a4-b7d4-266c8dd852b0&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have label for email in sign in form&quot;,&quot;fullTitle&quot;:&quot;Input field should have label for email in sign in form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:45,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-in-email&#x27;).parent().children(&#x27;label&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;2b1e35b8-bf5a-4af9-a27c-08a42105fac2&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false},{&quot;title&quot;:&quot;should have label for password in sign in form&quot;,&quot;fullTitle&quot;:&quot;Input field should have label for password in sign in form&quot;,&quot;timedOut&quot;:null,&quot;duration&quot;:46,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;medium&quot;,&quot;pass&quot;:true,&quot;fail&quot;:false,&quot;pending&quot;:false,&quot;context&quot;:null,&quot;code&quot;:&quot;cy.get(&#x27;#sign-in-password&#x27;).parent().children(&#x27;label&#x27;);&quot;,&quot;err&quot;:{},&quot;uuid&quot;:&quot;c92910b7-18f0-4e9c-ba7b-d8b149832751&quot;,&quot;parentUUID&quot;:&quot;2982b75e-c037-4f58-89ba-e46a69022df4&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;ed3b7f3e-8863-4038-8b65-e8f8a6b21df2&quot;,&quot;4e9cc72f-5758-41eb-9cdf-71ec5dde7377&quot;,&quot;f8bfdc36-fc8c-405a-b0a0-375a5ec639f9&quot;,&quot;329d9a5d-3909-44d4-ae37-26ae7678edb4&quot;,&quot;5b433a51-e7e9-4066-b56d-d6d1338e64c8&quot;,&quot;316a03c7-42d7-40c4-8fca-7f9ef7322d32&quot;,&quot;e07701f7-cfc7-4fac-807f-0fef23530e57&quot;,&quot;9dc6aefb-278e-4e1a-af21-15056b650da0&quot;,&quot;55f5aaff-1f84-4b6a-b848-c319f4ffa8e8&quot;,&quot;e6aac454-e663-40a4-b7d4-266c8dd852b0&quot;,&quot;2b1e35b8-bf5a-4af9-a27c-08a42105fac2&quot;,&quot;c92910b7-18f0-4e9c-ba7b-d8b149832751&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:832,&quot;root&quot;:false,&quot;rootEmpty&quot;:false,&quot;_timeout&quot;:2000}],&quot;passes&quot;:[],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:0,&quot;root&quot;:true,&quot;rootEmpty&quot;:true,&quot;_timeout&quot;:2000}],&quot;meta&quot;:{&quot;mocha&quot;:{&quot;version&quot;:&quot;7.0.1&quot;},&quot;mochawesome&quot;:{&quot;options&quot;:{&quot;quiet&quot;:false,&quot;reportFilename&quot;:&quot;mochawesome&quot;,&quot;saveHtml&quot;:false,&quot;saveJson&quot;:true,&quot;consoleReporter&quot;:&quot;spec&quot;,&quot;useInlineDiffs&quot;:false,&quot;code&quot;:true},&quot;version&quot;:&quot;6.2.1&quot;},&quot;marge&quot;:{&quot;options&quot;:{&quot;reportDir&quot;:&quot;raw_reports&quot;,&quot;overwrite&quot;:false,&quot;html&quot;:false,&quot;json&quot;:true},&quot;version&quot;:&quot;5.1.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;report&quot;,&quot;reportDir&quot;:&quot;C:\\Users\\damia\\projects_dom\\js_task_fix_form_DOM\\reports&quot;,&quot;reportTitle&quot;:&quot;js_task_fix_form_DOM&quot;,&quot;reportPageTitle&quot;:&quot;Mochawesome Report&quot;,&quot;inline&quot;:false,&quot;inlineAssets&quot;:false,&quot;cdn&quot;:false,&quot;charts&quot;:false,&quot;enableCharts&quot;:false,&quot;code&quot;:true,&quot;enableCode&quot;:true,&quot;autoOpen&quot;:false,&quot;overwrite&quot;:true,&quot;timestamp&quot;:false,&quot;ts&quot;:false,&quot;showPassed&quot;:true,&quot;showFailed&quot;:true,&quot;showPending&quot;:true,&quot;showSkipped&quot;:false,&quot;showHooks&quot;:&quot;failed&quot;,&quot;saveJson&quot;:false,&quot;saveHtml&quot;:true,&quot;dev&quot;:false,&quot;assetsDir&quot;:&quot;C:\\Users\\damia\\projects_dom\\js_task_fix_form_DOM\\reports\\assets&quot;,&quot;htmlFile&quot;:&quot;C:\\Users\\damia\\projects_dom\\js_task_fix_form_DOM\\reports\\report.html&quot;}"><div id="report"></div><script src="assets\app.js"></script></body></html>
Loading
Loading