Skip to content

Commit

Permalink
Stabilized ColumnClickTest
Browse files Browse the repository at this point in the history
  • Loading branch information
basilevs committed Mar 18, 2024
1 parent 44d1b2c commit 1423b3c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 63 deletions.
51 changes: 0 additions & 51 deletions rcpttTests/eclipse_base/error_log/LogTest.test

This file was deleted.

26 changes: 14 additions & 12 deletions rcpttTests/platform_tests/Recording/ColumnTitleClick.test
Expand Up @@ -7,7 +7,7 @@ Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-872
Id: __op1cKu2EeGxwqO33ZLSaw
Runtime-Version: 2.5.5.202403150112
Save-Time: 3/15/24, 12:51 PM
Save-Time: 3/18/24, 8:32 PM
Tags: Sorting
Testcase-Type: ecl

Expand Down Expand Up @@ -40,25 +40,27 @@ It is possible to sort entries ascending/descending by clicking on column with r
Content-Type: text/ecl
Entry-Name: .content

clear-log-view
log string1
clear-log-view
log string1 // Reloads the log file asynchronously
get-view "Error Log" | get-tree | get-items | length | equals 1 | verify-true // Forces synchronization (waiting for file to load)

log string2
log string3
with [get-view "Error Log" | get-tree] {
get-item string3 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string1 | get-property index | equals 2 | verify-true
get-item string3 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string1 | get-property index | equals 2 | verify-true
}
get-view "Error Log" | get-tree | click-column "Mes.*"
with [get-view "Error Log" | get-tree] {
get-item string1 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string3 | get-property index | equals 2 | verify-true
get-item string1 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string3 | get-property index | equals 2 | verify-true
}
get-view "Error Log" | get-tree | click-column "Mes.*"
with [get-view "Error Log" | get-tree] {
get-item string3 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string1 | get-property index | equals 2 | verify-true
get-item string3 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string1 | get-property index | equals 2 | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--

0 comments on commit 1423b3c

Please sign in to comment.