Skip to content

Commit 8b33b0e

Browse files
committed
ci: use pixel 4 xl device for android e2e
1 parent 13f6495 commit 8b33b0e

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
- setup_flutter
163163
- android/start-emulator-and-run-tests:
164164
run-tests-working-directory: e2e
165-
additional-avd-args: --device 3
165+
additional-avd-args: --device pixel_4_xl
166166
system-image: system-images;android-33;default;x86_64
167167
post-emulator-launch-assemble-command: cd example && flutter build apk --debug
168168
test-command: dotnet test
@@ -321,4 +321,4 @@ workflows:
321321
- hold_release
322322
filters:
323323
branches:
324-
only: master
324+
only: master

e2e/BugReportingTests.cs

-4
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ public void ManualInvocation()
113113
[Fact]
114114
public void MultipleScreenshotsInReproSteps()
115115
{
116-
ScrollDownLittle();
117-
118116
captain.FindByText("Enter screen name").Tap();
119117
captain.Type("My Screen");
120118
captain.HideKeyboard();
@@ -189,8 +187,6 @@ public void ChangeFloatingButtonEdge()
189187
[Fact]
190188
public void OnDismissCallbackIsCalled()
191189
{
192-
ScrollDownLittle();
193-
194190
captain.FindByText("Set On Dismiss Callback").Tap();
195191
captain.FindByText("Invoke").Tap();
196192

e2e/Utils/CaptainTest.cs

-9
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ protected void ScrollDown()
3636
);
3737
}
3838

39-
40-
protected void ScrollDownLittle()
41-
{
42-
captain.Swipe(
43-
start: new Point(captain.Window.Size.Width / 2, captain.Window.Size.Height - 200),
44-
end: new Point(captain.Window.Size.Width / 2, captain.Window.Size.Height - 220)
45-
);
46-
}
47-
4839
protected void ScrollUp()
4940
{
5041
captain.Swipe(

0 commit comments

Comments
 (0)