ci(ui_test): Refactor core of UI tests to use injected browser data (#2178)

Co-authored-by: Jagan <jaganelavarasan@gmail.com>
This commit is contained in:
Pa1NarK
2023-09-26 17:43:02 +05:30
committed by GitHub
parent 67a3e8f534
commit f47a5d423e
10 changed files with 136 additions and 69 deletions

10
scripts/decrypt_browser_data.sh Executable file
View File

@ -0,0 +1,10 @@
#! /usr/bin/env bash
# Decrypt the file
# --batch to prevent interactive command
# --yes to assume "yes" for questions
gpg --quiet --batch --yes --decrypt --passphrase="$1" \
--output $HOME/browser_data.tar.gz .github/secrets/browser_data.tar.gz.gpg
# Unzip the tarball
tar xzf $HOME/browser_data.tar.gz -C $HOME