Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari specific voice search alert message #1513

Merged
merged 20 commits into from
Aug 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ jobs:
- attach_workspace:
at: ~/answers
- run: ./.circleci/run_browserstack_acceptance.sh
useragent_acceptance_test:
docker:
- image: circleci/node:14.5-browsers
working_directory: ~/answers
steps:
- setup-workspace
- attach_workspace:
at: ~/answers
- run: ./.circleci/run_useragent_acceptance.sh
# verify all translations are present
translation_test:
docker:
Expand Down Expand Up @@ -188,13 +197,17 @@ workflows:
- browserstack_acceptance_test:
requires:
- build
- useragent_acceptance_test:
requires:
- build
- translation_test:
requires:
- build
- deploy_branch:
requires:
- unit_test
- browserstack_acceptance_test
- useragent_acceptance_test
- headless_acceptance_test
build_and_deploy_i18n:
jobs:
Expand All @@ -216,6 +229,9 @@ workflows:
- browserstack_acceptance_test:
requires:
- build_i18n
- useragent_acceptance_test:
requires:
- build_i18n
- translation_test:
requires:
- build_i18n
Expand All @@ -227,6 +243,7 @@ workflows:
requires:
- unit_test
- browserstack_acceptance_test
- useragent_acceptance_test
- headless_acceptance_test
- translation_test
- deploy_canary:
Expand All @@ -237,6 +254,7 @@ workflows:
- unit_test
- headless_acceptance_test
- browserstack_acceptance_test
- useragent_acceptance_test
build_and_deploy_hold:
jobs:
- build_i18n:
Expand Down Expand Up @@ -264,6 +282,12 @@ workflows:
only: /^v.*/
requires:
- build_i18n
- useragent_acceptance_test:
filters:
tags:
only: /^v.*/
requires:
- build_i18n
- translation_test:
filters:
tags:
Expand All @@ -278,6 +302,7 @@ workflows:
requires:
- unit_test
- browserstack_acceptance_test
- useragent_acceptance_test
- headless_acceptance_test
- translation_test
- deploy_latest:
Expand Down
4 changes: 2 additions & 2 deletions .circleci/run_browserstack_acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [[ $CIRCLE_BRANCH == release/*
|| $CIRCLE_BRANCH == master
|| $CIRCLE_BRANCH == support/* ]]
then
npx testcafe "browserstack:ie@11.0,browserstack:safari" --config-file ./.circleci/testcafe.json
npx testcafe "browserstack:ie@11.0,browserstack:safari" --config-file ./.circleci/testcafe.json -q
else
npx testcafe -c 2 "browserstack:ie@11.0" --config-file ./.circleci/testcafe.json
npx testcafe -c 2 "browserstack:ie@11.0" --config-file ./.circleci/testcafe.json -q
fi
4 changes: 2 additions & 2 deletions .circleci/run_headless_acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [[ $CIRCLE_BRANCH == release/*
|| $CIRCLE_BRANCH == master
|| $CIRCLE_BRANCH == support/* ]]
then
npx testcafe -c 3 "chrome:headless,firefox:headless" --config-file ./.circleci/testcafe.json
npx testcafe -c 3 "chrome:headless,firefox:headless" --config-file ./.circleci/testcafe.json -q
else
npx testcafe -c 3 "chrome:headless" --config-file ./.circleci/testcafe.json
npx testcafe -c 3 "chrome:headless" --config-file ./.circleci/testcafe.json -q
fi
8 changes: 8 additions & 0 deletions .circleci/run_useragent_acceptance.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
export BROWSERSTACK_USE_AUTOMATE="1"
export BROWSERSTACK_PROJECT_NAME="Answers SDK"
export BROWSERSTACK_BUILD_ID="${CIRCLE_BRANCH} - ${CIRCLE_BUILD_NUM}"
COMMIT_MSG_TITLE=$(git log -n 1 --pretty=format:%s)
export BROWSERSTACK_TEST_RUN_NAME=$COMMIT_MSG_TITLE

npx testcafe chrome:headless,firefox:headless,browserstack:safari,browserstack:edge tests/acceptance/useragent/useragentsuite.js --config-file ./.circleci/testcafe.json
1 change: 0 additions & 1 deletion .circleci/testcafe.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"src": "tests/acceptance/acceptancesuites/*.js",
"quarantineMode": true,
"appCommand": "npx serve -l tcp://0.0.0.0:9999",
"appInitDelay": 4000
}
2 changes: 1 addition & 1 deletion conf/i18n/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ msgstr ""
msgid "Showing <em class=\"yxt-AlternativeVerticals-noResultsInfo--emphasized\">all [[currentVerticalLabel]]</em> instead."
msgstr ""

#: src/ui/speechrecognition/speechrecognizer.js:96
#: src/ui/speechrecognition/speechrecognizer.js:95
msgid "Speech Recognition is not available."
msgstr ""

Expand Down
Loading