Add scroll to bottom of tile0 test

This commit is contained in:
Athicha Leksansern 2025-07-24 18:04:23 +07:00
parent c9ecdd14b1
commit 3689e6b91a
4 changed files with 32 additions and 22 deletions

View File

@ -2074,13 +2074,13 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[1,0,1128],[[4,5,6,0,[],[1,6,1121],[],[[7,0,0,[],[1,65,1062],[[0,8,9,0,10,11,0,0,[1,65,987],[[65,2,12]]],[0,13,9,0,14,0,0,0,[1,1053,74],[]]]]],[],[1,1,0,0]]],[],[],[1,1,0,0]];
window.output["suite"] = [1,2,3,0,[],[1,0,1060],[[4,5,6,0,[],[1,6,1054],[],[[7,0,8,[],[1,63,997],[[0,9,10,0,11,12,0,0,[1,63,718],[[64,2,13]]],[0,14,10,0,15,16,0,0,[1,782,7],[]],[0,17,10,0,18,19,0,0,[1,789,270],[]]]]],[],[1,1,0,0]]],[],[],[1,1,0,0]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
</script>
<script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*Tests","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests","*../tests","*000-Scroll-to-bottom-of-tile0","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests/000-Scroll-to-bottom-of-tile0.robot","*../tests/000-Scroll-to-bottom-of-tile0.robot","*Scroll to bottom of tile0","*Open Browser","*SeleniumLibrary","*<p>Opens a new browser instance to the optional <code>url\x3c/code>.\x3c/p>","*url=${BASE_URL}/ browser=${BROWSER}","*Opening browser 'Chrome' to base url '<a href=\"http://localhost:5173/\">http://localhost:5173/\x3c/a>'.","*Close Browser","*<p>Closes the current browser.\x3c/p>"]);
window.output["strings"] = window.output["strings"].concat(["*","*Tests","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests","*../tests","*000-Scroll-to-bottom-of-tile0","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests/000-Scroll-to-bottom-of-tile0.robot","*../tests/000-Scroll-to-bottom-of-tile0.robot","*Scroll to bottom of tile0","*<p>Scrolls to the bottom of tile0 and verifies the presence of a button.\x3c/p>","*Open Browser","*SeleniumLibrary","*<p>Opens a new browser instance to the optional <code>url\x3c/code>.\x3c/p>","*url=${BASE_URL}/ browser=${BROWSER}","*Opening browser 'Chrome' to base url '<a href=\"http://localhost:5173/\">http://localhost:5173/\x3c/a>'.","*Wait Until Page Contains","*<p>Waits until <code>text\x3c/code> appears on the current page.\x3c/p>","*robotframework demo","*Scroll Element Into View","*<p>Scrolls the element identified by <code>locator\x3c/code> into view.\x3c/p>","*css:div#tile-0 button.target"]);
</script>
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:01","fail":0,"label":"All Tests","pass":1,"skip":0}],[],[{"elapsed":"00:00:01","fail":0,"id":"s1","label":"Tests","name":"Tests","pass":1,"skip":0},{"elapsed":"00:00:01","fail":0,"id":"s1-s1","label":"Tests.000-Scroll-to-bottom-of-tile0","name":"000-Scroll-to-bottom-of-tile0","pass":1,"skip":0}]];
@ -2089,10 +2089,10 @@ window.output["stats"] = [[{"elapsed":"00:00:01","fail":0,"label":"All Tests","p
window.output["errors"] = [];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1753354731993;
window.output["baseMillis"] = 1753355029556;
</script>
<script type="text/javascript">
window.output["generated"] = 1128;
window.output["generated"] = 1064;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;

View File

@ -1,24 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.3.2 (Python 3.13.5 on darwin)" generated="2025-07-24T17:58:51.991879" rpa="false" schemaversion="5">
<robot generator="Robot 7.3.2 (Python 3.13.5 on darwin)" generated="2025-07-24T18:03:49.555816" rpa="false" schemaversion="5">
<suite id="s1" name="Tests" source="/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests">
<suite id="s1-s1" name="000-Scroll-to-bottom-of-tile0" source="/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests/000-Scroll-to-bottom-of-tile0.robot">
<test id="s1-s1-t1" name="Scroll to bottom of tile0" line="8">
<test id="s1-s1-t1" name="Scroll to bottom of tile0" line="7">
<kw name="Open Browser" owner="SeleniumLibrary">
<msg time="2025-07-24T17:58:52.058355" level="INFO">Opening browser 'Chrome' to base url 'http://localhost:5173/'.</msg>
<msg time="2025-07-24T18:03:49.619590" level="INFO">Opening browser 'Chrome' to base url 'http://localhost:5173/'.</msg>
<arg>url=${BASE_URL}/</arg>
<arg>browser=${BROWSER}</arg>
<doc>Opens a new browser instance to the optional ``url``.</doc>
<status status="PASS" start="2025-07-24T17:58:52.058212" elapsed="0.986909"/>
<status status="PASS" start="2025-07-24T18:03:49.619448" elapsed="0.718474"/>
</kw>
<kw name="Close Browser" owner="SeleniumLibrary">
<doc>Closes the current browser.</doc>
<status status="PASS" start="2025-07-24T17:58:53.045530" elapsed="0.073908"/>
<kw name="Wait Until Page Contains" owner="SeleniumLibrary">
<arg>robotframework demo</arg>
<doc>Waits until ``text`` appears on the current page.</doc>
<status status="PASS" start="2025-07-24T18:03:50.338257" elapsed="0.006643"/>
</kw>
<status status="PASS" start="2025-07-24T17:58:52.057846" elapsed="1.061824"/>
<kw name="Scroll Element Into View" owner="SeleniumLibrary">
<arg>css:div#tile-0 button.target</arg>
<doc>Scrolls the element identified by ``locator`` into view.</doc>
<status status="PASS" start="2025-07-24T18:03:50.345295" elapsed="0.269960"/>
</kw>
<doc>Scrolls to the bottom of tile0 and verifies the presence of a button.</doc>
<status status="PASS" start="2025-07-24T18:03:49.619065" elapsed="0.996554"/>
</test>
<status status="PASS" start="2025-07-24T17:58:51.999186" elapsed="1.120716"/>
<status status="PASS" start="2025-07-24T18:03:49.562199" elapsed="1.054012"/>
</suite>
<status status="PASS" start="2025-07-24T17:58:51.992593" elapsed="1.127507"/>
<status status="PASS" start="2025-07-24T18:03:49.556302" elapsed="1.060433"/>
</suite>
<statistics>
<total>

View File

@ -1887,22 +1887,22 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[1,0,1128],[[4,5,6,0,[],[1,6,1121],[],[[7,0,0,[],[1,65,1062],[]]],[],[1,1,0,0]]],[],[],[1,1,0,0]];
window.output["suite"] = [1,2,3,0,[],[1,0,1060],[[4,5,6,0,[],[1,6,1054],[],[[7,0,8,[],[1,63,997],[]]],[],[1,1,0,0]]],[],[],[1,1,0,0]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
</script>
<script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*Tests","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests","*../tests","*000-Scroll-to-bottom-of-tile0","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests/000-Scroll-to-bottom-of-tile0.robot","*../tests/000-Scroll-to-bottom-of-tile0.robot","*Scroll to bottom of tile0"]);
window.output["strings"] = window.output["strings"].concat(["*","*Tests","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests","*../tests","*000-Scroll-to-bottom-of-tile0","*/Users/tonkaew131/Developer/Web/ellely-robot-framework/tests/tests/000-Scroll-to-bottom-of-tile0.robot","*../tests/000-Scroll-to-bottom-of-tile0.robot","*Scroll to bottom of tile0","*<p>Scrolls to the bottom of tile0 and verifies the presence of a button.\x3c/p>"]);
</script>
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:01","fail":0,"label":"All Tests","pass":1,"skip":0}],[],[{"elapsed":"00:00:01","fail":0,"id":"s1","label":"Tests","name":"Tests","pass":1,"skip":0},{"elapsed":"00:00:01","fail":0,"id":"s1-s1","label":"Tests.000-Scroll-to-bottom-of-tile0","name":"000-Scroll-to-bottom-of-tile0","pass":1,"skip":0}]];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1753354731993;
window.output["baseMillis"] = 1753355029556;
</script>
<script type="text/javascript">
window.output["generated"] = 1128;
window.output["generated"] = 1064;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;

View File

@ -1,11 +1,14 @@
*** Settings ***
Library SeleniumLibrary
Variables resources/env-variables.py
*** Test Cases ***
Scroll to bottom of tile0
[Documentation] Scrolls to the bottom of tile0 and verifies the presence of a button.
Open Browser url=${BASE_URL}/ browser=${BROWSER}
Close Browser
Wait Until Page Contains robotframework demo
Scroll Element Into View css:div#tile-0 button.target
# Close Browser