728x90

QA 75

sibling, parent

DOM Node의 Sibling이나 Parent를 접근하려고 했었었는데, 기본 예제에는 항상 답이 있었다.cy.xpath('//a[text()="Completed Story"]/parent::div/parent::div/parent::td/following-sibling::td/button') .should(($button) => { expect($button.get(0).innerText).to.eq('Completed')}) Cypress Open을 통해 맨 처음 만들어진 예제들을 재 확인 해보면, siblings와, parent를 접근할 수 있는 것이 있었다.it('.siblings() - get all sibling DOM elements', () => { // https://on.cyp..

Automation/Cypress 2020.11.26

Automation 사용으로 Jira Release 할 경우 Slack 으로 메세지 보내기

Jira Release > Version 이 생성 되고 Release 처리를 할 때, 자동으로 메세지를 보내는 방법 완성본은 다음과 같다. 방법 1. Jira > Project 로 진입한다. 2. Automation 선택 > Create rule을 선택한다. 3. New Trigger에서 "Release"를 검색하면, 다음과 같은 검색 결과가 나온다. (Version Release 말고도 여러개를 Trigger를 입맛대로 골라서 쓰면 좋을 듯) 4. Trigger 선택 후, New Action에서 "Slack"을 검색하면 Send to Salck 이 나오니, 선택한다. 5. Webhook URL을 입력해야되는데, Slack에서 Webhook을 제공해주니, Config an incoming webhook을..

Jira 2020.11.13

Tests

javascript를 수동으로 입력하거나, Snippets를 이용하여 여러 기능을 사용할 수 있다. 상단의 스크린 샷 처럼, Response의 Status가 200인지 체크 후, Test Results에 결과를 보여준다. 또한 Postman에서 제공되는 pm 객체를 통해 다양하게 사용할 수 있다. 주로 사용하는 것은, 응답 값 체크 pm.test("Status code is 200", function () { pm.response.to.have.status(200); }); 응답 값을 저장하여 사용 pm.environment.set("access_token", pm.response.json().access_token) 응답 체크 (Response time, 또는 String, Number 등 타입까지 )..

Automation/Postman 2020.09.22

Postman

www.postman.com/ Postman | The Collaboration Platform for API Development Simplify each step of building an API and streamline collaboration so you can create better APIs—faster www.postman.com API 개발과 협업을 위한 툴 REST, SOAP, GraphQL 다양한 지원과, Automate Manual Test, CI/CD pipeline, Monitoring, 등 다양한 업무까지 지원 현재 상황 - REST API 에 대한 테스트 진행 - Live 상 User Scenario에서 요청되는 API를 주기적으로 Monitoring 일부 사용하는 기능들에 ..

Automation/Postman 2020.09.22
728x90