Anna Koskinen
346d564dfe
Updated local screenshot testing configurations. (#11814)
* A separate screenshot module hasn't been in use for a while but local
testing configurations and instructions weren't updated to the new model
at the time. Could use some further cleanup but this covers the basics.
* Some tweaks to ScreenshotBrowser to get it functional again, although
the actions for automatically replacing or adding alternative
screenshots still require work and have thus been disabled.
4 jaren geleden
Teemu Suo-Anttila
948b863701
Improved BrowserStack support with local identifiers (#10941)
6 jaren geleden
Teemu Suo-Anttila
f6f63c79ab
Fix test retries and use TestBench retry rule (#10904)
6 jaren geleden
Teemu Suo-Anttila
1c53b2b7ed
Add properties for local XVFB cluster testing (#10863)
6 jaren geleden
Teemu Suo-Anttila
aac64dba9c
Introduce XVFB cluster testing (#10801)
This patch adds the ability and configuration
for running tests against cluster running Chrome
browsers in XVFB environment.
It also contains multiple fixes for combining
newer Selenium and Chrome as well as fixes
tests that depend on timezones.
6 jaren geleden
Ilia Motornyi
2ddeb9ef97
Remove empty comments (#10789)
6 jaren geleden
Teemu Suo-Anttila
1fdeb3f467
Remove copyright headers from test code (#10770)
6 jaren geleden
Ahmed Ashour
a9c83ba07e
Use .toLowerCase and .toUpperCase(Locale.ROOT) (#10182)
* Use .toLowerCase and .toUpperCase(Locale.ROOT)
* Spaces
* add spaces after if(
6 jaren geleden
Ahmed Ashour
ccad305464
Use static import of Assert in tests (#10126)
Also removes dependency on junit.framework.TestCase .
6 jaren geleden
Ahmed Ashour
f6e082f517
Use String.isEmpty()
6 jaren geleden
Henri Sara
7f1cfd03d5
Eliminate module uitest-common (#8583)
The use of the module in the test project was removed earlier, and
eliminating the module permits simpler and more reliable builds as
it was not deployed.
The classes that were in uitest-common are now in uitest.
7 jaren geleden
Artur Signell
eeffa805a2
Remove trailing whitespace from code and javadoc
Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
7 jaren geleden
Artur Signell
6d54d78944
Format using Eclipse Neon
Change-Id: I33f1cc33969ff74a95b1b8cc0f2add589be5aae0
7 jaren geleden
Henri Sara
3816d34daa
Create module uitest-common
This module will contain most of the classes shared between uitest
and integration test modules.
Change-Id: Ibc327339cf1d360252483287c0eeb8dd03c176d5
8 jaren geleden
Henri Sara
27031d0971
Fixes for DevelopmentServerLauncher
Makes it possible to run DSL in the uitest project using the same
configuration as before.
Note that this change might not fix all issues with DSL.
Change-Id: Ie69a97e79247d6c211eb0762c4d4def3499b88ae
8 jaren geleden
Teemu Suo-Anttila
6b8412033e
Build uitest war with maven
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda
8 jaren geleden
Teemu Suo-Anttila
6e4ce712ec
Move capability handling from MultiBrowserTest to super class
Capabilities should be set the same way in SingleBrowserTests as well,
not just MultiBrowserTests.
Change-Id: Ifed8534b87bbe45fd90fe0e7110e26a5344c5540
8 jaren geleden
Leif Åstrand
6c759028b2
Make vanilla SingleBrowserTest work with the runLocally property
Change-Id: I15c9cf94be71a74229ee32f711f187b1ebc8a993
9 jaren geleden
Artur Signell
c4d006d0c6
Run local tests on localhost
* Allows running test when offline
Change-Id: Ifb1d9ab60c299d6bbf31381fc26e50c639db8dc4
9 jaren geleden
Artur Signell
3954d200f0
Allow specifying location of PhantomJS binary
Change-Id: Idf04ba5c3712a387010bc2a28a119e81499f1f75
9 jaren geleden
Teemu Suo-Anttila
acac097635
Fix PrivateTB3Configuartion to use correct BrowserFactory
This patch also removes an unused private function.
Change-Id: I7734739b3ef895956ff8119c99eca27867263a5e
9 jaren geleden
Teemu Suo-Anttila
a058f557aa
Disallow RunLocally annotation in framework tests. Fix NPE for
screenshots.
Change-Id: I72793d85dfaba41aefa5370331c1ae81348607e9
9 jaren geleden
Leif Åstrand
989203a680
Re-enable support for the firefox.path property
Change-Id: I14d4ca1a2ef51ff77404cd6577cbe7cb35a2f75d
9 jaren geleden
Teemu Suo-Anttila
d29b2dfd1e
Re-enable running tests locally with property
Change-Id: I6eed0dc802ca101c929a5bc3cb6f3141060524a3
9 jaren geleden
Teemu Suo-Anttila
fd8078d691
Use TestBench-4.0.2
- Based on TB4 Parallel testing.
- Browser setup no longer uses static capabilities.
- Some code cleanup here and there.
Change-Id: I5c419316cd36f4f5041eaa8da8fda3d8b46596c4
9 jaren geleden
Sauli Tähkäpää
1321b9f242
Add build parameter com.vaadin.testbench.hub.url.
Change-Id: I413c1dfffcba794aeaa33bbfef4b90b22f5f6fb7
9 jaren geleden
Sauli Tähkäpää
bd4c7aa540
Fix duplicate detection in test locator.
Change-Id: I9a6ebfda4e8b09927eb22bec6ddf2989b8104070
9 jaren geleden
Sauli Tähkäpää
488b469451
Make junit.test.suite a property.
Change-Id: I3dd66e5f11a99efc3777513dc0e2989e8007c9c1
9 jaren geleden
Denis Anisimov
33ff6768d9
Use deployment url property value for base URL if it's defined (#14758).
Change-Id: I249e37cfaf23564b00136b33132df3d339a46e98
9 jaren geleden
Dmitrii Rogozin
2f5df41f2e
Remove browser warning when running tests locally on Chrome (#14319)
Change-Id: If621e342f6680eeb6ae0aeb3f2dc38e8160316c8
10 jaren geleden
Leif Åstrand
6ae7843e46
Simulate @RunLocally using eclipse-run-selected-test.properties (#14272)
Change-Id: I4eb9409629f64c17f39b1560062e763270f1f582
10 jaren geleden
Leif Åstrand
05cd1c7c8e
Explain what to do if chrome.driver.path is needed but missing (#14231)
Change-Id: Ibd6f890136d62a3b19f8c60158b4aa1397454f7e
10 jaren geleden
Teemu Suo-Anttila
f2597f7496
Add build parameters to allow running test on local PhantomJS
Change-Id: I99f37403d58385a814347d36b0f8b1a35c63c282
10 jaren geleden
Leif Åstrand
e033fcda35
Always initialize WebBrowser for new sessions (#13571)
Change-Id: I3918498d63032f6b507b52634df5b41470363e15
10 jaren geleden
Artur Signell
227a937af1
Format project files according to conventions
Change-Id: I2522698237eb2a21c0896605bed8e73a82795c97
10 jaren geleden
Sauli Tähkäpää
db7943857b
Refactored TB3 test ip address whitelisting.
Change-Id: I7f9aae8ed3ea163b19d92caa652313dfc2c4a159
10 jaren geleden
Artur Signell
642818fef2
Allow using @RunLocally to run on a local Firefox/Chrome/Safari
Change-Id: Ibb1dfd12dc48637d8179f80322b5203ea5562805
10 jaren geleden
Artur Signell
33e58977c2
Use localhost when running locally to avoid potential network issues
Change-Id: Ie43604a2b41d2214d55d0976ba3c81ea361c8c56
10 jaren geleden
Artur Signell
7b120fc196
Tests for validating reconnect works for streaming and websockets (#12868,#12853,#12852)
Change-Id: I0e1e51291e9275a78737ad0e70e63b75ef993a63
10 jaren geleden
Artur Signell
f9ea9b31d4
Allow running tests locally by overriding runLocally() (#12786)
Uses Firefox either from path or from the location given using firefox.path in /work/run-eclipse-run-selected-test.properties
Change-Id: I29faa94cac4c978792a8fab9db338048553d166a
10 jaren geleden
John Ahlroos
377d49ee17
Allow configuring deployment port for TB3 tests
Change-Id: Iee0827d1e65dcbc1fc6c71701b80f355285b6902
10 jaren geleden
Artur Signell
7f7dc316e3
Base files for TB3 tests (#12572)
* Converted LabelModes to TB3 for validation
Change-Id: Ic9e69d46623a16986961bdc8cc050b375622a91d
10 jaren geleden