?? ? ?? (E2E) ???? ???? ??? ?? ???? ??? ?????. ?? ??? ?? CI (Continuous Integration) ?? ????? ??????. ??? ???? ???? ??? ?? ??? ???? ??????. Cypress? ?? React? ?? ?? JavaScript ?????? ??? ????? ????? ??? E2E ??? ??? ?????.
??? ?? ???? ??
? ????? ?? TODO ?? ????? ?????. ???? ?? ? ? ????.
git ?? [??? ??] : KinsomicRote/Cypress-React-Tutorial.git
????? ???? ???? ??????.
CD Cypress-React-Tutorial ?? ??
Cypress ?? :
?? Cypress -Dev ??
?? ????? :
node_modules/.bin/cypress Open
?? ??????? ????? package.json
? ??????.
"????": { "Cypress": "Cypress Open" }
?? yarn cypress
???? ?????? ?????. yarn start
.
cypress/integration/init.spec.js
?? ?? ???? ??? ???.
?? ( 'cypress', () => { it ( '?? ?', () => { ?? (true) .to.equal (true); }); });
??? ?????? ???? ??? ?????. ?? ? ??? ??????.
it ( '? ??', () => { cy.visit ( 'http : // localhost : 3000'); });
URL? ???? ???? cypress.json
?? ?? URL? ??????.
{ "Baseurl": "http : // localhost : 3000" }
?? ???? ??? ? ? ????.
it ( '? ??', () => { cy.visit ( '/'); });
??? ?? ??? ? ??
??? ?? ??? ?????? cypress/integration/form.spec.js
? ????.
?? ( 'form', () => { ?? (() => { cy.visit ( '/'); }); it ( '?? ??', () => { cy.focused (). }); it ( '??? ??', () => { const input = "Cypress? ?? ?????"; cy.get ( '. Form-Control') . ?? (??) .Should ( 'hade.value', ??); }); it ( 'Todos? ?? ??', () => { cy.get ( 'li'). }); it ( '??? TODO? ?????', () => { const input = "Cypress? ?? ?????"; cy.get ( '. Form-Control') . ?? (??) .type ( '{enter}') .get ( 'li') .HOUD ( 'hade.length', 3); }); it ( 'todo? ??', () => { cy.get ( 'li') .? ??() .find ( '. btn danger') .?? ?? ??() .get ( 'li') .Should ( 'hade.length', 1); }); it ( '?? ? ??? ??', () => { cy.get ( 'li') .? ??() .find ( '. btn danger') .?? ?? ??() .get ( 'li') .? ??() .find ( '. btn danger') .?? ?? ??() .get ( '. no-task') .HIBLE ( 'hade.text', '?? ??? ???????. ??? ???????!'); }); });
? ???? ?? ??, ?? ??, ?? ?? ?, ?????? ?? ????, ?? ? ?? ????, ?? TODO? ?????.
???? ?? ???
???? ?? ???? ??? ?? ??? ???? ????????. ?? ?? JSON ?? ?? ? API ?? :
?? ( 'request', () => { it ( 'API?? ??? ???? ??', () => { cy.request ( 'https://jsonplaceholder.typicode.com/users') .Should ((??) => { expling (response.status) .to.eq (200); expling (response.body) .to.have.length (10); ?? (??) .to.have.property ( '??'); expling (response) .to.have.property ( 'duration'); }); }); });
?? API ?? ??, ??? ?? ? ?? ??? ?????.
?? ??? ?? ????
????? ????? ??? ?? :
NPX Cypress Run
?? ???? ????? :
NPX Cypress Run -Spec "Cypress/Integration/Form.spec.js"
??? ??? ??? ?? ?? ? ??? ?????. ?? ?? ?? ? ??? Cypress ??? ??????.
??
Cypress? E2E ???? ????? ????? ????? ?????. ? ????? ?? ? ?? ??? ??? ?? ??? ??? ? ????? ?????. ?? ?? ?? ? ?? ??? Cypress ??? ??????.
? ??? Cypress? ???? React ?? ????? ?? ???? ?????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

CSS?? ????? ??? ? ?? ??? ????. 1. HTML ? CSS? ?? ??? ?????? ???? ?? ???? ?? ???? ??????. 2. ?? ??? ??? ?? ???? ???? ?? ?? ??? ?? ?? ??? ??????. 3. ??? ????? ???? JavaScript? ?? ???? ?????? ??? ?????. ? ?? ??? ??? ??? ????? ?? ??, ??, ??? ? ?? ???? ?? ?? ?? ??? ???? ?????.

CSS ???? ??? ? ??? ??? ????? ???? ??? ???? ???? ?? ?? ???? ????? ???????. 1. Flexbox ? ??? ??? ?? ???? ??? ??, ?? : ??? ?? ? ????? ??? ????. 2. Caniuse ?? ?? ?? ??? ??????. 3. -webkit-, -moz-, -ms-, -o- ? ?? ???? ???? ???? ?????. 4. AutoPrefixer? ???? ???? ???? ???? ?? ????. 5. ?? ????? ????? PostCSS? ???? BrowsersList? ??????. 6. ?? ? ???? ???? ?????. 7. Modernizr ?? ??? ??? ????? ??? ? ????. 8. ?? ????? ???? ?? ? ??? ????.

themaindifferencesbetweendisplay : ???, ??, andinline-blockinhtml/cssarelayoutbehavior, spaceusage ? stylingcontrol.1.inlineElementsFlowWithText, do n'tStartonnewlines, ingorewidth/height, andonlyapplyhorizontalpadding/margins —IdealforIneTeTexting

CSS? ?? ?? ??? ??? ??? ???? ???? SVG? ???? ?? ???, ?? ????, ??? ?? ?? ??? ?? ???? ??????. ??? ??? ????. 1. ?, ??, ??? ?? ?? ??? ?? ??? ?????. 2. ?? ?? ? ??? ???? ??? ? ????. 3. ?????? ?? ?? ?? ?? ????? ???? ?? ??? ?? ? ? ????. 4. ???? ???? ??? ??? ??? ????? ?? ? ??? ????. ???? ???? ?? ?? ?? : ? (50pxatcenter) ? ??? ?? ?? : ??? (50%0%, 100 0%, 0%)? ?? ????. ????

??? ?? ???? ???? ??? ??, ?? ??? ??? ? ? ????? ??? ??? ???? ???? ? ? ?? ? ? ????. 1. CSS ?? : ?? ??? ???? ???? ?? ??; 2. ????? ?? ?? ?? ???? ?? ?? ??? ??? ? ????. 3. ?? ??? ??? ??? ??? ?? ?? ???? ????????. 4. ??? ????? ??? ???? ?? ? ??? ??? ?? ??? ?? ?? ??? ????? ???? ?? ????.

CSS? ???? ?? ? ???? ???? ??? ?? ??? ?? ?? ?? ? ? ????. 1. Max width : 100% ? ?? : Auto? ???? ???? ??? ????? ???? ??? ??? ? ??????. 2. HTML? SRCSET ? ?? ??? ???? ?? ??? ??? ??? ??? ???????????. 3. ?? ?? ? ?? ??? ???? ??? ??? ? ?? ?????? ??????. ? ??? ?? ???? ?? ???? ???? ???? ????????.

?? ????? CSS ?? ??? ????? ?? ?? ??? ??, ?? ?? ?? ??, Flexbox ? ??? ???? ?? ?? ? ?? CSS ??? ????? ??? ???? ???? ?? ????? ??? ?????. 1. ?? ??? ??? ???? ????. ???? CSSRESET ?? NALLER.CSS? ???? ?? ???? ???? ????. 2. IE? ?? ??? ?? ?? ?? ??? ????. ?? ?? : ?? ? ???? ??? ??? ???? ?? ????. 3. Flexbox ? Grid? Edge Case ?? Old ???? ??? ?????. ? ?? ??? ? AutopRefixer ??; 4. ?? CSS ?? ??? ???? ????. Caniuse? ???? ?? ?????????.

CSS ??? ??? ?? ?? ?? ? ?? ? ?? ??? ?? ????. 1.px? ?? ??? ????? ?? ??? ??? ?? ??? ?????. 2.EM? ?? ????, ?? ?? ??? ??? ?? ?? ???? ??, REM? ?? ??? ???? ? ????? ??? ????? ?????. 3.VW/VH? ?? ? ???? ??? ??? ??? ??????? ?? ???? ?????? ???????. 4. ??? ?? ?? ? ??, ?? ?? ?? ? ??? ???? ???? ???????. ???? ??? ???? ??? ? ?? ??? ???? ? ????.
