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/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;
}
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/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"
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-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
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.
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 (