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

solution #965

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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 .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
Expand Down
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://vinogradova8.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 @@ -22,7 +22,7 @@
"@mate-academy/bemlint": "^0.1.1",
"@mate-academy/eslint-config": "*",
"@mate-academy/linthtml-config": "*",
"@mate-academy/scripts": "^1.2.10",
"@mate-academy/scripts": "^1.2.12",
"@mate-academy/stylelint-config": "0.0.11",
"@parcel/transformer-sass": "2.10.2",
"backstopjs": "^6.2.2",
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.

2 changes: 2 additions & 0 deletions reports/assets/app.js

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions reports/assets/app.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */

/*! mochawesome-report-generator 6.2.0 | https://github.com/adamgruber/mochawesome-report-generator */

/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
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;2024-01-19T17:52:21.404Z&quot;,&quot;end&quot;:&quot;2024-01-19T17:52:22.425Z&quot;,&quot;duration&quot;:966,&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;2859f946-5692-4606-89b3-dcc087b3f0ab&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;20486011-a96d-4374-b335-d48774760cde&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;:180,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;370ccf37-919c-4136-b113-acbd4c428ef6&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:67,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;a691c2de-16a7-4195-ae25-dae21a44fb4b&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:81,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;f5026721-6884-4b1c-b449-7f48be5412ce&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:70,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;03473670-91ee-4e72-88b9-98ab5b14647c&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:70,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;173c731b-4c06-4728-9908-4ec94df64cb6&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:72,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;8e327c27-98a6-41be-b9ba-7166fbebd49b&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:79,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;97037961-9e0c-40b5-9b34-0737969aca03&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:73,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;db69957b-ccfa-4b10-83d7-9431d729ad3d&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:76,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;ac2a4c00-aa27-4ec6-909b-d22d6c231037&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:64,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;6d07ab75-6825-4250-b4ed-86aab0f826e0&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:58,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;1b236a4e-ca91-4afe-a41d-e64368bac3eb&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&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;:76,&quot;state&quot;:&quot;passed&quot;,&quot;speed&quot;:&quot;fast&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;e74a3905-b1fa-4f73-863e-9ebfef020fd3&quot;,&quot;parentUUID&quot;:&quot;20486011-a96d-4374-b335-d48774760cde&quot;,&quot;isHook&quot;:false,&quot;skipped&quot;:false}],&quot;suites&quot;:[],&quot;passes&quot;:[&quot;370ccf37-919c-4136-b113-acbd4c428ef6&quot;,&quot;a691c2de-16a7-4195-ae25-dae21a44fb4b&quot;,&quot;f5026721-6884-4b1c-b449-7f48be5412ce&quot;,&quot;03473670-91ee-4e72-88b9-98ab5b14647c&quot;,&quot;173c731b-4c06-4728-9908-4ec94df64cb6&quot;,&quot;8e327c27-98a6-41be-b9ba-7166fbebd49b&quot;,&quot;97037961-9e0c-40b5-9b34-0737969aca03&quot;,&quot;db69957b-ccfa-4b10-83d7-9431d729ad3d&quot;,&quot;ac2a4c00-aa27-4ec6-909b-d22d6c231037&quot;,&quot;6d07ab75-6825-4250-b4ed-86aab0f826e0&quot;,&quot;1b236a4e-ca91-4afe-a41d-e64368bac3eb&quot;,&quot;e74a3905-b1fa-4f73-863e-9ebfef020fd3&quot;],&quot;failures&quot;:[],&quot;pending&quot;:[],&quot;skipped&quot;:[],&quot;duration&quot;:966,&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;7.1.3&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;6.2.0&quot;}}}" data-config="{&quot;reportFilename&quot;:&quot;report&quot;,&quot;reportDir&quot;:&quot;C:\\Users\\sophi\\projects\\js\\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\\sophi\\projects\\js\\js_task_fix_form_DOM\\reports\\assets&quot;,&quot;htmlFile&quot;:&quot;C:\\Users\\sophi\\projects\\js\\js_task_fix_form_DOM\\reports\\report.html&quot;}"><div id="report"></div><script src="assets\app.js"></script></body></html>
Loading
Loading