Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2815e86

Browse files
Merge pull request #16 from 4DvAnCeBoY/master
gitpod yml
2 parents e4d603c + 01fabf8 commit 2815e86

File tree

4 files changed

+35
-15
lines changed

4 files changed

+35
-15
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ storage/*.key
2929
.env
3030
Homestead.yaml
3131
Homestead.json
32+
*.lock
3233

3334
# Rocketeer PHP task runner and deployment package. https://github.com/rocketeers/rocketeer
3435
.rocketeer/

‎.gitpod.Dockerfile‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM gitpod/workspace-full
2+
3+
USER gitpod
4+
5+
# Install custom tools, runtime, etc. using apt-get
6+
# For example, the command below would install "bastet" - a command line tetris clone:
7+
#
8+
# RUN sudo apt-get -q update && \
9+
# sudo apt-get install -yq bastet && \
10+
# sudo rm -rf /var/lib/apt/lists/*
11+
#
12+
# More information: https://www.gitpod.io/docs/config-docker/

‎.gitpod.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
5+
ports:
6+
- port: 3000
7+
onOpen: open-preview
8+
9+
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
10+
tasks:
11+
- init: composer install
12+
command: composer dump-autoload && cp .env.example .env && php artisan dusk

‎tests/DuskTestCase.php‎

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,15 @@ protected function driver()
3333
$access_key = env('LT_ACCESS_KEY');
3434
$url = "https://".$username.":".$access_key."@hub.lambdatest.com/wd/hub";
3535

36-
return RemoteWebDriver::create($url,
37-
DesiredCapabilities::chrome()
38-
->setCapability("platform", "win10")
39-
->setCapability("browserName", "chrome")
40-
->setCapability("version", "71.0")
41-
->setCapability("resolution", "1024x768")
42-
->setCapability("build", "LaravelDusk Build")
43-
->setCapability("name", "LaravelDusk Test")
44-
->setCapability("network", true)
45-
->setCapability("video", true)
46-
->setCapability("visual", true)
47-
->setCapability("console", true)
48-
->setCapability("tunnel", false)
49-
);
36+
$capabilities = array(
37+
"build" => "LaravelDusk Build",
38+
"name" => "LaravelDusk Build",
39+
"platform" => "Windows 10",
40+
"browserName" => "Chrome",
41+
"version" => "latest"
42+
);
43+
44+
return RemoteWebDriver::create($url,$capabilities);
5045
}
51-
46+
5247
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /