Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
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
abdullh.alsoleman
Front-End
Commits
7ec33482
Unverified
Commit
7ec33482
authored
Jan 25, 2022
by
Jenn Magder
Committed by
GitHub
Jan 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move gallery native UI test launching out of test and into setup (#97177)
parent
2dd8cb1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
GalleryUITests.m
...tests/flutter_gallery/ios/GalleryUITests/GalleryUITests.m
+5
-3
No files found.
dev/integration_tests/flutter_gallery/ios/GalleryUITests/GalleryUITests.m
View file @
7ec33482
...
...
@@ -5,20 +5,22 @@
#import <XCTest/XCTest.h>
@interface
GalleryUITests
:
XCTestCase
@property
(
strong
)
XCUIApplication
*
app
;
@end
@implementation
GalleryUITests
-
(
void
)
setUp
{
self
.
continueAfterFailure
=
NO
;
}
-
(
void
)
testLaunch
{
XCUIApplication
*
app
=
[[
XCUIApplication
alloc
]
init
];
[
app
launch
];
self
.
app
=
app
;
}
-
(
void
)
testLaunch
{
// Basic smoke test that the app launched and any element was loaded.
XCTAssertTrue
([
app
.
otherElements
.
firstMatch
waitForExistenceWithTimeout
:
60
.
0
]);
XCTAssertTrue
([
self
.
app
.
otherElements
.
firstMatch
waitForExistenceWithTimeout
:
60
.
0
]);
}
@end
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