Techbrothers99
Techbrothers99
  • 163
  • 105 734

Відео

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

КОМЕНТАРІ

  • @sheetalakhud1372
    @sheetalakhud1372 Місяць тому

    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?

  • @dilawarmr2764
    @dilawarmr2764 Місяць тому

    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

  • @syedsalman225
    @syedsalman225 Місяць тому

    Has anyone worked on creating allure reports for the tests run in docker?

  • @Mike58128
    @Mike58128 2 місяці тому

    "no tests found" when I tried that

    • @Techbrothers99
      @Techbrothers99 2 місяці тому

      Hello, make sure you have imported tests correctly. please share your git repository, i will have a look.

  • @bradrenfrow5119
    @bradrenfrow5119 3 місяці тому

    Works perfectly! Thanks much, sir.

  • @venkateshy6041
    @venkateshy6041 4 місяці тому

    hi sir, im unable to get validate option in network ...where can i get?

  • @VikrantChauhan-xi4wn
    @VikrantChauhan-xi4wn 4 місяці тому

    Very good explanation ...! Please could you make demo project cypress with salesforce application

  • @VikrantChauhan-xi4wn
    @VikrantChauhan-xi4wn 4 місяці тому

    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 "

    • @Techbrothers99
      @Techbrothers99 4 місяці тому

      please share your code snip or git repo, will have a look, thanks

    • @VikrantChauhan-xi4wn
      @VikrantChauhan-xi4wn 4 місяці тому

      @@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() })

  • @jopadjr
    @jopadjr 6 місяців тому

    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?

  • @seruvalingamvs8698
    @seruvalingamvs8698 6 місяців тому

    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

    • @Techbrothers99
      @Techbrothers99 6 місяців тому

      you can so this by using cy.session()

    • @seruvalingamvs8698
      @seruvalingamvs8698 6 місяців тому

      @@Techbrothers99 I tried, but won't work... If you make it video it would be helpful

    • @Techbrothers99
      @Techbrothers99 6 місяців тому

      @seruvalingamvs8698 ua-cam.com/video/WagvaUbp_-k/v-deo.htmlsi=vH2L8ZPhSSGbxyeR

    • @Techbrothers99
      @Techbrothers99 6 місяців тому

      @seruvalingamvs8698 ua-cam.com/video/WagvaUbp_-k/v-deo.htmlsi=vH2L8ZPhSSGbxyeR

  • @sunilkumarnk2584
    @sunilkumarnk2584 7 місяців тому

    Can we know how to install docker in cypress

    • @Techbrothers99
      @Techbrothers99 7 місяців тому

      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.

  • @anaisry
    @anaisry 7 місяців тому

    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

  • @seruvalingamvs8698
    @seruvalingamvs8698 7 місяців тому

    Really useful content sir... No one is covered, this is unique one and very clear

  • @seruvalingamvs8698
    @seruvalingamvs8698 7 місяців тому

    Please cover the interview questions

  • @seruvalingamvs8698
    @seruvalingamvs8698 7 місяців тому

    Very Useful one...

  • @rk498r
    @rk498r 8 місяців тому

    Setting NO_COLOR=1 with npx cypress run might fix the garbled text issue in the build logs.

  • @rk498r
    @rk498r 8 місяців тому

    Such an awesome explanation with simple example! do you mind posting the commands used during the video?

  • @sharvinjeevan2022
    @sharvinjeevan2022 8 місяців тому

    Hi,how to specify textarea if got 2,name='' also not detecting

    • @Techbrothers99
      @Techbrothers99 8 місяців тому

      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.

    • @sharvinjeevan2022
      @sharvinjeevan2022 8 місяців тому

      @@Techbrothers99 thank you now found

  • @diegoJOFernandes
    @diegoJOFernandes 8 місяців тому

    Thank you, it helped a lot! Can you teach how to run tests in parallel mode in codebuild?

  • @subrat9291
    @subrat9291 8 місяців тому

    can you make video on cypress integration with azure devops..

  • @subrat9291
    @subrat9291 8 місяців тому

    while using github action with cypress cloud, will cypress cloud charge money ?

    • @Techbrothers99
      @Techbrothers99 8 місяців тому

      you can run upto 500 tests for free in a months, above will be charged

  • @sushant3922
    @sushant3922 8 місяців тому

    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 !!

    • @Techbrothers99
      @Techbrothers99 8 місяців тому

      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

  • @SpurtiShinde-z7c
    @SpurtiShinde-z7c 9 місяців тому

    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

    • @Techbrothers99
      @Techbrothers99 8 місяців тому

      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; };*

  • @musaboruc39
    @musaboruc39 9 місяців тому

    great video thanks, where did you get the cy:cloud from?

  • @rodolfosanches1466
    @rodolfosanches1466 9 місяців тому

    Can i run cypress open inside a docker? and open the window in host?

    • @Techbrothers99
      @Techbrothers99 9 місяців тому

      No it is not possible as of my knowledge due to tests run inside container.

  • @Sergei546
    @Sergei546 9 місяців тому

    thank you very much

  • @bharatbhusandash4997
    @bharatbhusandash4997 11 місяців тому

    Thank you for this. It would be great if you could explain how to handle multiple environments.

    • @Techbrothers99
      @Techbrothers99 11 місяців тому

      thank you, will do it in next videos

  • @kunkuvenu6476
    @kunkuvenu6476 11 місяців тому

    Very good, Explanation

  • @nivas3699
    @nivas3699 Рік тому

    Very useful information

  • @balakrishnakurapati7639
    @balakrishnakurapati7639 Рік тому

    Nice explanation anna

  • @nivas3699
    @nivas3699 Рік тому

    Very good

  • @NagalakshmanChirukuri-m3i

    Keep doing

  • @NagalakshmanChirukuri-m3i

    😊

  • @firstnamelastname3464
    @firstnamelastname3464 Рік тому

    thank you!

  • @khadijayamin1693
    @khadijayamin1693 2 роки тому

    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

    • @Techbrothers99
      @Techbrothers99 2 роки тому

      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.

  • @babygirllaughing6245
    @babygirllaughing6245 2 роки тому

    Very low voice

  • @gddas91
    @gddas91 2 роки тому

    Thank you!

  • @Apprenticer
    @Apprenticer 2 роки тому

    whispering?

  • @SimplePSD
    @SimplePSD 2 роки тому

    Super helpful! Thank you

  • @madhavianumolu266
    @madhavianumolu266 2 роки тому

    Good explanation

  • @yacoubasylla7358
    @yacoubasylla7358 3 роки тому

    Thanks

  • @anth7rax
    @anth7rax 3 роки тому

    thanks for the explanation

  • @madhavianumolu266
    @madhavianumolu266 3 роки тому

    Nice

  • @KeidyLotus
    @KeidyLotus 3 роки тому

    thank you so much!!

  • @fjaahmed2778
    @fjaahmed2778 3 роки тому

    very helpful ...thank you

  • @anitasharma7717
    @anitasharma7717 3 роки тому

    Good information

  • @lipsa626
    @lipsa626 3 роки тому

    Nice explained.. Thank you for sharing

  • @sahilsheth2650
    @sahilsheth2650 3 роки тому

    well explained sir..

  • @pujab6987
    @pujab6987 3 роки тому

    Easy step by step explanation

  • @sonalsinha8100
    @sonalsinha8100 3 роки тому

    Very nicely explained easily follow instructions step by step 👍