From a966ceca28167178b9158eca53a9651826f2c0bd Mon Sep 17 00:00:00 2001 From: shabarish-testsigma <83057054+shabarish-testsigma@users.noreply.github.com> Date: Mon, 5 Dec 2022 13:25:51 +0530 Subject: [PATCH 1/5] WEB-126 - LeftNav styling (#22) Co-authored-by: Pratheep Velicherla --- src/components/LeftNav.scss | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/LeftNav.scss b/src/components/LeftNav.scss index c58d2cc..6605969 100644 --- a/src/components/LeftNav.scss +++ b/src/components/LeftNav.scss @@ -2,6 +2,10 @@ .leftNav { background-color: #F6F7F9; + @media (min-width: 1280px) { + padding-right: 2rem !important; + padding-left: 2rem !important; + } //height: 100%; position: sticky; height: 100vh; @@ -20,7 +24,7 @@ } >ul > .parent { - padding: 20px 0; + padding: 10px 0; &.currentUrl{ padding-bottom: 20px; } @@ -31,7 +35,7 @@ display: none; } > ul { - border-bottom: 1px solid #C4C4C4 !important; + /*border-bottom: 1px solid #C4C4C4 !important;*/ > li { .folder-icon{ display: block; @@ -141,10 +145,10 @@ margin-bottom: 24px; img{ display:inline; - position: relative; + /*position: relative;*/ top: 3px; - width: 10px; - height: 10px; + width: 13px; + height: 13px; margin: 0px; } From b4b5e7c531270127de84e16a16c14cb3b942b646 Mon Sep 17 00:00:00 2001 From: Santhoshkumar <117272529+Santhosh2022ts@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:17:14 +0530 Subject: [PATCH 2/5] WEB-216-404 error fix-tutorials (#24) --- .../getting-started/automate-android-applications.md | 4 ++-- .../tutorials/getting-started/automate-ios-applications.md | 2 +- src/pages/tutorials/getting-started/automate-rest-apis.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/pages/tutorials/getting-started/automate-android-applications.md mode change 100644 => 100755 src/pages/tutorials/getting-started/automate-ios-applications.md mode change 100644 => 100755 src/pages/tutorials/getting-started/automate-rest-apis.md diff --git a/src/pages/tutorials/getting-started/automate-android-applications.md b/src/pages/tutorials/getting-started/automate-android-applications.md old mode 100644 new mode 100755 index 1ad0087..49d392e --- a/src/pages/tutorials/getting-started/automate-android-applications.md +++ b/src/pages/tutorials/getting-started/automate-android-applications.md @@ -65,7 +65,7 @@ In this tutorial we will demonstrate how Testsigma’s revolutionary mobile test > ## [Pre-requisites](#pre-requisites) > 1. You have a Testsigma account : If you haven't already, sign up for [a free trial](https://testsigma.com/signup) > The trial includes all product features and free support (always!) via the in-app chat or email to [support@testsigma.com](mailto:support@testsigma.com) -> 2. Testsigma agent for local execution(Optional): If you’d like to run your test using a local android device [follow this guide](https://testsigma.com//tutorials/test-cases/android-apps/build-tests-using-local-devices/) to install the Testsigma agent +> 2. Testsigma agent for local execution(Optional): If you’d like to run your test using a local android device [follow this guide](https://testsigma.com//tutorials/test-cases/mobile-apps/build-tests-using-local-android-devices/) to install the Testsigma agent --- @@ -289,7 +289,7 @@ If you need any help with errors you can reach out to [support@testsigma.com](ma * Start creating tests. [Explore Recorder.](https://testsigma.com/docs/test-cases/create-steps-recorder/android-apps/overview/) -* Automate Android Apps using your local devices. [Learn more!](https://testsigma.com//tutorials/test-cases/android-apps/build-tests-using-local-devices/) +* Automate Android Apps using your local devices. [Learn more!](https://testsigma.com//tutorials/test-cases/mobile-apps/build-tests-using-local-android-devices/) * Create Test Plans and Schedule. Head over to [this link!](https://testsigma.com/docs/test-management/test-plans/schedule-plans/) diff --git a/src/pages/tutorials/getting-started/automate-ios-applications.md b/src/pages/tutorials/getting-started/automate-ios-applications.md old mode 100644 new mode 100755 index c39d5b5..c70f699 --- a/src/pages/tutorials/getting-started/automate-ios-applications.md +++ b/src/pages/tutorials/getting-started/automate-ios-applications.md @@ -317,7 +317,7 @@ _This is a basic test that can be recorded by interacting with your app. also [p * Start creating tests. [Explore Recorder.](https://testsigma.com/docs/test-cases/create-steps-recorder/ios-apps/overview/) -* Automate iOS Apps using your local devices. [Learn more!](https://testsigma.com//tutorials/test-cases/ios-apps/build-tests-using-local-devices/) +* Automate iOS Apps using your local devices. [Learn more!](https://testsigma.com//tutorials/test-cases/mobile-apps/build-tests-using-local-ios-devices/) * Create Test Plans and Schedule. Head over to [this link!](https://testsigma.com/docs/test-management/test-plans/schedule-plans/) diff --git a/src/pages/tutorials/getting-started/automate-rest-apis.md b/src/pages/tutorials/getting-started/automate-rest-apis.md old mode 100644 new mode 100755 index 5232ec9..146acdc --- a/src/pages/tutorials/getting-started/automate-rest-apis.md +++ b/src/pages/tutorials/getting-started/automate-rest-apis.md @@ -71,7 +71,7 @@ A few of the available routes are given below: [https://jsonplaceholder.typicode.com/comments](https://jsonplaceholder.typicode.com/comments) | will return a response containing 500 comment items [https://jsonplaceholder.typicode.com/comments?postId=1](https://jsonplaceholder.typicode.com/comments?postId=1) | will return a response containing the comments for post with id=1 [https://jsonplaceholder.typicode.com/users](https://jsonplaceholder.typicode.com/users) | will return a response containing 10 users -[https://jsonplaceholder.typicode.com/users/1](https://jsonplaceholder.typicode.com/users/1%C2%A0) | will return a response containing the user details for id=1 +[https://jsonplaceholder.typicode.com/users/1](https://jsonplaceholder.typicode.com/users/1) | will return a response containing the user details for id=1 All of the most common HTTP verbs such as GET, POST, PUT, PATCH, and DELETE are supported. From 6cea671c99ee2c3324f11b62529b91a5cb02f06f Mon Sep 17 00:00:00 2001 From: shabarish-testsigma <83057054+shabarish-testsigma@users.noreply.github.com> Date: Tue, 17 Jan 2023 12:41:13 +0530 Subject: [PATCH 3/5] WEB-240 - Add No Index to Tutorials staging site (#25) * Update page.jsx * Add noIndex true * environment check --- .github/workflows/staging-cd.yml | 2 ++ src/environment.ts | 6 ++++++ src/templates/page.jsx | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/environment.ts diff --git a/.github/workflows/staging-cd.yml b/.github/workflows/staging-cd.yml index 8d3a829..893ef4d 100644 --- a/.github/workflows/staging-cd.yml +++ b/.github/workflows/staging-cd.yml @@ -33,6 +33,8 @@ jobs: echo GTAG_TRACKING_ID_FOR_GA4=${{ secrets.STAGING_GTAG_TRACKING_ID_FOR_GA4 }} >> .env echo GTAG_TRACKING_ID_FOR_GTAG=${{ secrets.STAGING_GTAG_TRACKING_ID_FOR_GTAG }} >> .env cat .env + - name: Set environment + run : sed -i 's/localhost/website.testsigma.com/g' src/environment.ts - name: Build run: | PREFIX_PATHS=true npm run build && npm run deploy diff --git a/src/environment.ts b/src/environment.ts new file mode 100644 index 0000000..c6b178c --- /dev/null +++ b/src/environment.ts @@ -0,0 +1,6 @@ +export const environment = { + hostname: "localhost", + isStaging() { + return this.hostname == "website.testsigma.com"; + } +} \ No newline at end of file diff --git a/src/templates/page.jsx b/src/templates/page.jsx index fb7d190..70b1410 100644 --- a/src/templates/page.jsx +++ b/src/templates/page.jsx @@ -12,6 +12,7 @@ import {Link} from "../../.cache/gatsby-browser-entry"; import SearchInputBox from "../components/SearchInputBox"; import MobileView from "../components/MobileView"; import Footer from "../components/Footer" +import {environment} from "../environment"; export default ({ data, pageContext }) => { @@ -35,6 +36,10 @@ export default ({ data, pageContext }) => { contextualLinks = ; } + if(environment.isStaging()) { + post.frontmatter.noindex = true; + } + return ( Date: Fri, 20 Jan 2023 13:19:09 +0530 Subject: [PATCH 4/5] WEB-247-Robot meta tag - fix (#26) --- .../tutorials/advanced/email-based-two-factor-authentication.md | 2 +- .../advanced/sms-based-two-factor-authentication-2fa.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/pages/tutorials/advanced/email-based-two-factor-authentication.md mode change 100644 => 100755 src/pages/tutorials/advanced/sms-based-two-factor-authentication-2fa.md diff --git a/src/pages/tutorials/advanced/email-based-two-factor-authentication.md b/src/pages/tutorials/advanced/email-based-two-factor-authentication.md old mode 100644 new mode 100755 index 282ab0e..7373143 --- a/src/pages/tutorials/advanced/email-based-two-factor-authentication.md +++ b/src/pages/tutorials/advanced/email-based-two-factor-authentication.md @@ -1,7 +1,7 @@ --- title: "How to automate email based Two Factor Authentication(2FA)" metadesc: "Coming soon..." -noindex: true +noindex: false order: 5.3 page_id: "How to automate email based Two Factor Authentication(2FA)" search_keyword: "Web Application, Recorder, Testsigma Tutorials" diff --git a/src/pages/tutorials/advanced/sms-based-two-factor-authentication-2fa.md b/src/pages/tutorials/advanced/sms-based-two-factor-authentication-2fa.md old mode 100644 new mode 100755 index de1c469..20b3f42 --- a/src/pages/tutorials/advanced/sms-based-two-factor-authentication-2fa.md +++ b/src/pages/tutorials/advanced/sms-based-two-factor-authentication-2fa.md @@ -1,7 +1,7 @@ --- title: "How to automate SMS based two factor authentication(2FA)" metadesc: "Coming soon..." -noindex: true +noindex: false order: 5.2 page_id: "How to automate SMS based Two Factor Authentication(2FA)" search_keyword: "Web Application, Recorder, Testsigma Tutorials" From 9f34e385a923617cbdf087ca859520749bda49dc Mon Sep 17 00:00:00 2001 From: Santhoshkumar <117272529+Santhosh2022ts@users.noreply.github.com> Date: Tue, 24 Jan 2023 10:58:51 +0530 Subject: [PATCH 5/5] WEB-252-Http links to Https link (#27) --- .../getting-started/automate-mobile-web-applications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/pages/tutorials/getting-started/automate-mobile-web-applications.md diff --git a/src/pages/tutorials/getting-started/automate-mobile-web-applications.md b/src/pages/tutorials/getting-started/automate-mobile-web-applications.md old mode 100644 new mode 100755 index dfd56c4..93e6de0 --- a/src/pages/tutorials/getting-started/automate-mobile-web-applications.md +++ b/src/pages/tutorials/getting-started/automate-mobile-web-applications.md @@ -97,7 +97,7 @@ Here’s how you can create a Project in Testsigma For this tutorial we’ll be simulating a login scenario for the ‘Simply travel” application. Here are the steps we’ll be performing using Testsigma -1. Navigate to [http://travel.testsigma.com](http://travel.testsigma.com) +1. Navigate to [https://travel.testsigma.com](https://travel.testsigma.com) 2. Tap on Login SImply Travel