- 163
- 105 734
Techbrothers99
United Kingdom
Приєднався 1 кві 2019
Continuous learning is very important to get successful.
Cypress End To End Testing | Test Replay | Cypress Cloud
Cypress End To End Testing | Test Replay | Cypress Cloud
Переглядів: 116
Відео
Cypress End To End Testing | Executing Cypress Tests In Jenkins | Pipeline Project
Переглядів 72211 місяців тому
This video explains how to run or execute cypress tests in Jenkins as a pipeline project.
Cypress End To End Testing | Executing Cypress Tests In Jenkins | Free Style Project
Переглядів 21811 місяців тому
This video explains how to run or execute cypress tests in jenkins as a free style project.
Cypress End To End Testing | Easily Set Up End-to-end Testing For Multiple Environments With Cypress
Переглядів 64611 місяців тому
This video explains how to setup and execute your cypress tests in multiple environments.
Cypress End To End Testing | How To Fix Unknown Characters Issue In Aws Fargate
Переглядів 7111 місяців тому
This video explains how to fix unknown characters issue that we encountered during execution of our cypress tests in AWS Fargate
Cypress End To End Testing | Execute Tests In AWS Fargate
Переглядів 34811 місяців тому
This video explain how to execute or run tests in AWS Fargate. this video also explain how to build image and publish that image to docker hub.
Cypress End To End Testing | Execute Tests Through A Docker Container
Переглядів 1,6 тис.11 місяців тому
This video explains how to execute tests through a docker container and how to create a dockerfile to build docker image and docker container.
Cypress End To End Testing | Execute Tests In AWS CodeBuild
Переглядів 1 тис.11 місяців тому
this video explain how to create buildspec.yml file and execute tests in AWS codebuild.
Cypress End To End Testing | Execute Tests In Parallel In Gitlab CI
Переглядів 1,2 тис.11 місяців тому
This video explains how to execute tests in parallel in gitlab ci and also how you can migrate you project from github to gitlab and also explain how to create .gitlab-ci.yml file to execute the tests parallelly. also, how to record these tests in cypress cloud.
Cypress End To End Testing | Record Parallel Execution From Github Actions In Cypress Cloud
Переглядів 41911 місяців тому
This video explains how to execute tests parallelly from github actions and record those tests in cypress cloud.
Cypress End To End Testing | Record Your Tests In The Cypress Cloud From Github Actions
Переглядів 15611 місяців тому
This video explain how to record your cypress tests in cypress cloud from github actions. This video also explains how to store your record key in github secrets and access in github actions yml file.
Cypress End To End Testing | Record Your Tests In The Cypress Cloud!
Переглядів 23211 місяців тому
This video explains how to create cypress cloud account and connect your project to cypress cloud environment. How to run your cypress tests from local workspace and record in cypress cloud.
Cypress End To End Testing | Execute Tests In Github Actions
Переглядів 48111 місяців тому
Cypress GitHub Actions is a way to run Cypress tests as part of your continuous integration and continuous delivery (CI/CD) pipeline on GitHub. It is a GitHub Action that simplifies the setup and execution of Cypress tests on different browsers and platforms.
Cypress End To End Testing | Execute Tests In Headless Mode
Переглядів 12411 місяців тому
Headless mode is a way of running Cypress tests without a graphical user interface (GUI). This can be useful for speeding up the testing process, running tests in environments where a GUI is not available, or integrating tests with continuous integration and delivery (CI/CD) tools. To run Cypress tests in headless mode, you can use the cypress run command with the headless option. You can also ...
Cypress End To End Testing | Delete Downloaded Files With Cy.task()
Переглядів 1,1 тис.11 місяців тому
A Cypress task is a way to execute arbitrary Node code from your test. You can use it to perform tasks that are not possible or convenient in the browser context, such as accessing a database, running an external process, or reading and writing files. To use a Cypress task, you need to define it in the cypress/plugins/index.js file and then call it from your test using cy.task(event, arg, optio...
Cypress End To End Testing | How To Download And Read Content From A File Using Plugin
Переглядів 148Рік тому
Cypress End To End Testing | How To Download And Read Content From A File Using Plugin
Cypress End To End Testing | How To Download And Read Content From A File
Переглядів 364Рік тому
Cypress End To End Testing | How To Download And Read Content From A File
Cypress End To End Testing | Reading Text File Context | Cy.readFile()
Переглядів 613Рік тому
Cypress End To End Testing | Reading Text File Context | Cy.readFile()
Cypress End To End Testing | Upload Files | Cy.selectFile()
Переглядів 779Рік тому
Cypress End To End Testing | Upload Files | Cy.selectFile()
Cypress End To End Testing | How To Use Cypress To Test Your Browser's Localstorage
Переглядів 313Рік тому
Cypress End To End Testing | How To Use Cypress To Test Your Browser's Localstorage
Cypress End To End Testing | Validate Your Cookies With Cy.cookie()
Переглядів 715Рік тому
Cypress End To End Testing | Validate Your Cookies With Cy.cookie()
Cypress End To End Testing | How To Make Assertions About The Url | cy.location()
Переглядів 258Рік тому
Cypress End To End Testing | How To Make Assertions About The Url | cy.location()
Cypress End To End Testing | Learn How To Use Fixtures
Переглядів 209Рік тому
Cypress End To End Testing | Learn How To Use Fixtures
Cypress End To End Testing | Get a property's value | Cy.its()
Переглядів 92Рік тому
Cypress End To End Testing | Get a property's value | Cy.its()
Cypress End To End Testing | How To Navigate Back Or Forward To The Previous Or Next Url | Cy.go()
Переглядів 78Рік тому
Cypress End To End Testing | How To Navigate Back Or Forward To The Previous Or Next Url | Cy.go()
Cypress End To End Testing | How To Execute Multiple Spec Files In Test Runner
Переглядів 465Рік тому
Cypress End To End Testing | How To Execute Multiple Spec Files In Test Runner
Cypress End To End Testing | Make HTTP Requests | Cy.request()
Переглядів 309Рік тому
Cypress End To End Testing | Make HTTP Requests | Cy.request()
Cypress End To End Testing | How To Invoke Functions | Cy.invoke()
Переглядів 833Рік тому
Cypress End To End Testing | How To Invoke Functions | Cy.invoke()
Cypress End To End Testing | How To Use The Session Command | cy.session()
Переглядів 1,3 тис.Рік тому
Cypress End To End Testing | How To Use The Session Command | cy.session()
Cypress End To End Testing | Learn How To Create Custom Commands
Переглядів 259Рік тому
Cypress End To End Testing | Learn How To Create Custom Commands
have you created docker-compose file as well here? Also, I am unable to follow "cypress-youtube" here? what is it exactly and where it's to be defined?
In order to use cy.session(), provide a setup as the second argument: cy.session(id, setup) Because this error occurred during a before each hook we are skipping the remaining tests in the current suite: template spec please help me with this error
Has anyone worked on creating allure reports for the tests run in docker?
"no tests found" when I tried that
Hello, make sure you have imported tests correctly. please share your git repository, i will have a look.
Works perfectly! Thanks much, sir.
hi sir, im unable to get validate option in network ...where can i get?
Very good explanation ...! Please could you make demo project cypress with salesforce application
Hi Tech Bro, Good video , ....! I have some another error in my cypress code could you please help me . I am getting an error when i am trying to execute Test case "Process is not defined "
please share your code snip or git repo, will have a look, thanks
@@Techbrothers99 ReferenceError The following error originated from your test code, not from Cypress. > process is not defined When Cypress detects uncaught errors originating from your test code it will automatically fail the current test. Cypress could not associate this error to any specific test. We dynamically generated a new test to display this failure. node_modules/ci-info/index.js:5:1 3 | const vendors = require('./vendors.json') 4 | > 5 | const env = process.env | ^ 6 | 7 | // Used for testing only 8 | Object.defineProperty(exports, '_vendors', { View stack trace Test Case /************Create Test case for Login with the help of Page object********************** import LoginpageC from "../../PageobjectOrangeWeblocator/LoginpageC" const Loginobj = new LoginpageC describe('Login Pageobject ',()=>{ it('Verify functionality to Login page ',()=>{ Loginobj.OpenURL() cy.fixture('Logindata').then((LDet)=>{ Loginobj.UserName(LDet.UserNAME) Loginobj.PassWord(LDet.PassWORD) Loginobj.ClickLoginBtn() }) Loginobj.VerifyAssertion() })
9th...Thanks. Hi, just a quick question. When I used an external link (e.g. google, yahoo) the cy.visit() is working. But when I'm running an internal URL/link, it is not working. It says "Cypress could not verify that this server is running. A connection to the upstream proxy could not be established: ERR_EMPTY_RESPONSE: The upstream proxy closed the socket after connecting but before sending a response." Can you please advise on what to do here please?
Hi sir having one doubt This is one of interview question. Login to Amazon website It("Search product") It("add to cart") It("checkout product") These three test cases are excute next to next without login multiple time. How can I handle this scenario ,I tired many ways, didn't get result. can give me a solution for this
you can so this by using cy.session()
@@Techbrothers99 I tried, but won't work... If you make it video it would be helpful
@seruvalingamvs8698 ua-cam.com/video/WagvaUbp_-k/v-deo.htmlsi=vH2L8ZPhSSGbxyeR
@seruvalingamvs8698 ua-cam.com/video/WagvaUbp_-k/v-deo.htmlsi=vH2L8ZPhSSGbxyeR
Can we know how to install docker in cypress
docker is tool or software which you have to install it separately, it is no way related to cypress. You can run cypress tests inside container.
Hi, one question I have a URL xx/0/xy and in my test I have to check the duration of an element, in the URL from xx/0/xy to xx/1000/xy how can I automate this, without having to write them separately.? it("0", () =>{ cy.visit('/xx/0/xy') cy.checkelement() }) it("1", () =>{ cy.visit('/xx/1/xy') cy.checkelement() }) it("2", () =>{ cy.visit('/xx/2/xy') cy.checkelement() }) .... Repeat cy.visit('/xx/1000/xy') I would really appreciate it if you could help me with this problem. Thanks a lot
Really useful content sir... No one is covered, this is unique one and very clear
thank you very much
Please cover the interview questions
will do
Very Useful one...
thank you
Setting NO_COLOR=1 with npx cypress run might fix the garbled text issue in the build logs.
Such an awesome explanation with simple example! do you mind posting the commands used during the video?
will do, thanks
Hi,how to specify textarea if got 2,name='' also not detecting
if you are sure the position won't change then you can use eq(0)/eq(1). or try traversing from parent element like parent.child. Best is ask developer to provide unique id in this scenario.
@@Techbrothers99 thank you now found
Thank you, it helped a lot! Can you teach how to run tests in parallel mode in codebuild?
can you make video on cypress integration with azure devops..
sure, will do
while using github action with cypress cloud, will cypress cloud charge money ?
you can run upto 500 tests for free in a months, above will be charged
Thanks for this amazing video. How to store screenshots and videos captured during Cypress run inside docker to the local machine. when I am running my image using docker, it stores screenshots and videos on this place - /app/cypress/videos/test.cy.js.mp4. but I am not able to see it in my project on my machine. Thanks !!
you need to set volume to videos and screenshot folders, then you can see them in your project. will do some coding and will share with you this week. thanks
For example, if I input 'abcd' into a text box the first time, and upon running the test case again, if I receive a message stating 'unit name already exists,' I would like the automation to automatically input a different text to ensure uniqueness. How can I achieve this automation? please help me for this
You can use the if condition by writing the code synchronously, you can refer to the below link for more details. docs.cypress.io/guides/core-concepts/conditional-testing#Element-existence I have placed an example code in my GitHub. github.com/codingwithnagalakshman/cypress-youtube/blob/main/cypress/e2e/user-exists.cy.js cy.get('body').then(($body) => { if($body.text().includes("Already exists")) { cy.get(".oxd-input").eq(1).clear().type( *random()* ) } }) You must write a javascript function to generate a random string if the input string already exists. Depending on your need, you can modify below javascript function. *const random = (length = 10) => { // Declare all characters let chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; // Pick characers randomly let str = ''; for (let i = 0; i < length; i++) { str += chars.charAt(Math.floor(Math.random() * chars.length)); } return str; };*
great video thanks, where did you get the cy:cloud from?
from package.json
Can i run cypress open inside a docker? and open the window in host?
No it is not possible as of my knowledge due to tests run inside container.
thank you very much
Thank you for this. It would be great if you could explain how to handle multiple environments.
thank you, will do it in next videos
Very good, Explanation
thank you so much
Very useful information
thank you so much
Nice explanation anna
Thank you so much 🙂
Very good
Thank you
Keep doing
Thank you, sure
😊
thank you!
Hi, I wanted to know how I can enter empty string in mandatory textfield because .type() function requires an argument. Can you help me to handle this situation? Thanks
Hi, yes you are right it is not possible to enter empty string to type() method. To test mandatory fields with empty string, without entering anything click on submit button and check error message is displayed or not. If you have already entered and to replace with empty string use clear() method to empty the textfield.
Very low voice
Thank you!
whispering?
Super helpful! Thank you
Good explanation
Thanks
thanks for the explanation
Nice
thank you so much!!
very helpful ...thank you
Good information
Nice explained.. Thank you for sharing
well explained sir..
Easy step by step explanation
Very nicely explained easily follow instructions step by step 👍