Skip to content

Commit

Permalink
Sskz: update swtbot test
Browse files Browse the repository at this point in the history
  • Loading branch information
TruongQuangSB committed Dec 18, 2024
1 parent 14f3adc commit abf1814
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ protected static Stream<Arguments> providesPtTable() {
public void beforeEach() throws Exception {
super.beforeEach();
@SuppressWarnings("unchecked")
final List<? extends ExpandItem> expandItems = bot.widgets(allOf(
widgetOfType(ExpandItem.class), withRegex("^.+ – Tabellen$")));
final List<? extends ExpandItem> expandItems = bot
.widgets(allOf(widgetOfType(ExpandItem.class),
withRegex("^.+ – (Zusatzt|T)abellen$")));
expandItems.forEach(item -> {
final SWTBotExpandItem swtBotExpandItem = new SWTBotExpandItem(
item);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected void exportCurrentCSV(final TestFile testFile,
};
final SWTBotNatTable nattableBot = SWTBotUtils
.waitForNattable(AbstractSWTBotTest.bot, 30000);
nattableBot.click(4, 5);
nattableBot.click(0, 1);
nattableBot.pressShortcut(SWT.MOD1, 'r');
AbstractSWTBotTest.bot.waitUntil(new DefaultCondition() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
Row;A;B;C;D;E;F;G;H;I;J;K;L;M;N
;Weiche/Kreuzung;Weiche/Kreuzung;Weiche/Kreuzung;Weiche/Kreuzung;Weiche/Kreuzung;Weiche/Kreuzung;Weiche/Kreuzung;Zulässige Geschwindigkeit​​​​​​​;Zulässige Geschwindigkeit​​​​​​​;Zulässige Geschwindigkeit​​​​​​​;Zulässige Geschwindigkeit​​​​​​​;Ansteuerung​​​​​​​​​​​;Ansteuerung​​​​​​​​​​​;Bemerkung​​​​​​​​​​​​​
;Bezeichnung;Art​;Bauform​​;Standort​​​;Standort​​​;Länge​​​​​;Länge​​​​​;Weiche​​​​​​​;Weiche​​​​​​​;Kreuzung​​​​​​​​​;Kreuzung​​​​​​​​​;Ansteuerung​​​​​​​​​​​;Ansteuerung​​​​​​​​​​​;Bemerkung​​​​​​​​​​​​​
;Bezeichnung;Art​;Bauform​​;Strecke​​​;km​​​​;Links​​​​​;Rechts​​​​​​;Links (KrW: A abzw.)​​​​​​​;Rechts (KrW: B abzw.)​​​​​​​​;Links​​​​​​​​​;Rechts​​​​​​​​​​;ESTW-Zentraleinheit​​​​​​​​​​​;Stellbereich​​​​​​​​​​​​;Bemerkung​​​​​​​​​​​​​
;;;;;;;;km/h;km/h;km/h;km/h;;;
Row;A;B;C;D;E;F
;Betrieblicher Bezeichner FEAx;Betrieblicher Bezeichner Feldelement;Technischer Bezeichner Object Controller;Türanschlag;Montage;Blattnummer

0 comments on commit abf1814

Please sign in to comment.