Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aphp1_classwork80
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Egor Kremnev
aphp1_classwork80
Commits
2c5ad0c6
Commit
2c5ad0c6
authored
Aug 22, 2023
by
Egor Kremnev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix scripts
parent
45dd0b24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
build.sh
scripts/build.sh
+7
-0
No files found.
scripts/build.sh
View file @
2c5ad0c6
...
@@ -42,6 +42,13 @@ info "Setup environment for dusk test"
...
@@ -42,6 +42,13 @@ info "Setup environment for dusk test"
cp
.env.dusk .env
cp
.env.dusk .env
php artisan key:generate
php artisan key:generate
# Устанавливем браузер нужной версии для тестов
VERSION_STRING
=
"114.0.5735.90"
# Replace this value with the one you copied earlier
wget
"https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_
${
VERSION_STRING
}
_amd64.deb"
sudo
dpkg
-i
"google-chrome-stable_
${
VERSION_STRING
}
_amd64.deb"
rm
-i
"google-chrome-stable_
${
VERSION_STRING
}
_amd64.deb"
php artisan dusk:chrome-driver
php artisan dusk:chrome-driver
nohup
bash
-c
"php artisan serve --env=dusk --port=4343 2>&1 &"
&&
sleep
5
nohup
bash
-c
"php artisan serve --env=dusk --port=4343 2>&1 &"
&&
sleep
5
php artisan dusk
php artisan dusk
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment