@@ -1923,16 +1923,8 @@ extrude001 = extrude(profile001, length = 5)
1923
1923
const filletExpression = `fillet(radius = 1000, tags = [getCommonEdge(faces = [seg01, seg02])])`
1924
1924
1925
1925
// Locators
1926
- const edgeLocation = { x : 659 , y : 313 }
1927
- const bodyLocation = { x : 594 , y : 313 }
1928
-
1929
- // Colors
1930
- const edgeColorWhite : [ number , number , number ] = [ 248 , 248 , 248 ]
1931
- const edgeColorYellow : [ number , number , number ] = [ 251 , 251 , 120 ] // Mac:B=251,251,90 Ubuntu:240,241,180, Windows:240,241,180
1932
- const backgroundColor : [ number , number , number ] = [ 30 , 30 , 30 ]
1933
- const bodyColor : [ number , number , number ] = [ 155 , 155 , 155 ]
1934
- const lowTolerance = 20
1935
- const highTolerance = 70
1926
+ // TODO: find a way to select sweepEdges in a different way
1927
+ const edgeLocation = { x : 649 , y : 283 }
1936
1928
1937
1929
// Setup
1938
1930
await test . step ( `Initial test setup` , async ( ) => {
@@ -1941,28 +1933,19 @@ extrude001 = extrude(profile001, length = 5)
1941
1933
} , initialCode )
1942
1934
await page . setBodyDimensions ( { width : 1000 , height : 500 } )
1943
1935
await homePage . goToModelingScene ( )
1944
-
1945
- // verify modeling scene is loaded
1946
- await scene . expectPixelColor ( backgroundColor , edgeLocation , lowTolerance )
1947
-
1948
- // wait for stream to load
1949
- await scene . expectPixelColor ( bodyColor , bodyLocation , highTolerance )
1936
+ await scene . settled ( cmdBar )
1950
1937
} )
1951
1938
1952
1939
// Test
1953
1940
await test . step ( 'Select edges and apply oversized fillet' , async ( ) => {
1954
1941
await test . step ( `Select the edge` , async ( ) => {
1955
- await scene . expectPixelColor ( edgeColorWhite , edgeLocation , lowTolerance )
1942
+ await toolbar . closePane ( 'code' )
1943
+ await page . waitForTimeout ( 10000 )
1956
1944
const [ clickOnTheEdge ] = scene . makeMouseHelpers (
1957
1945
edgeLocation . x ,
1958
1946
edgeLocation . y
1959
1947
)
1960
1948
await clickOnTheEdge ( )
1961
- await scene . expectPixelColor (
1962
- edgeColorYellow ,
1963
- edgeLocation ,
1964
- highTolerance // Ubuntu color mismatch can require high tolerance
1965
- )
1966
1949
} )
1967
1950
1968
1951
await test . step ( `Apply fillet` , async ( ) => {
0 commit comments