Skip to content

Commit

Permalink
cloud final
Browse files Browse the repository at this point in the history
  • Loading branch information
BankNatchapol committed Dec 12, 2020
2 parents 8c45f63 + 2c36ba9 commit 3785580
Show file tree
Hide file tree
Showing 18 changed files with 172 additions and 119 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/master_dd-dinner-dog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Node.js app to Azure Web App - dd-dinner-dog

on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Set up Node.js version
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: npm install, build, and test
run: |
cd frontend
npm install
npm start
- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
with:
app-name: 'dd-dinner-dog'
slot-name: 'production'
publish-profile: ${{ secrets.AzureAppService_PublishProfile_898603a5b3b640d28718485d5db9da4c }}
package: .
Binary file added DD Dinner Dog_test.pdf
Binary file not shown.
8 changes: 4 additions & 4 deletions Demo-robot/testcases/log.html
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,7 @@
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,4,[],[1,0,54789],[],[[5,0,1,0,[],[1,2002,10583],[[0,6,0,0,0,0,0,0,[1,2004,7557],[[0,7,8,0,9,10,0,0,[1,2004,7547],[],[[2004,2,11]]],[0,12,8,0,13,14,0,0,[1,9552,9],[],[[9561,2,15]]]],[]],[0,16,0,0,0,17,0,0,[1,9562,234],[[0,18,8,0,19,20,0,0,[1,9562,234],[],[[9562,2,21]]]],[]],[0,22,0,0,0,23,0,0,[1,9797,128],[[0,18,8,0,19,24,0,0,[1,9798,127],[],[[9798,2,25]]]],[]],[0,26,0,0,0,0,0,0,[1,9926,85],[[0,27,8,0,28,29,0,0,[1,9927,84],[],[[9927,2,30]]]],[]],[0,31,0,0,0,0,0,0,[1,10012,8],[[0,12,8,0,13,14,0,0,[1,10013,7],[],[[10020,2,15]]]],[]],[0,32,8,0,33,0,0,0,[1,10021,2563],[],[]]]],[34,0,1,0,[],[1,12587,8516],[[0,6,0,0,0,0,0,0,[1,12588,5780],[[0,7,8,0,9,10,0,0,[1,12588,5773],[],[[12588,2,11]]],[0,12,8,0,13,14,0,0,[1,18361,7],[],[[18368,2,15]]]],[]],[0,16,0,0,0,35,0,0,[1,18369,283],[[0,18,8,0,19,20,0,0,[1,18369,283],[],[[18370,2,36]]]],[]],[0,37,0,0,0,38,0,0,[1,18652,132],[[0,18,8,0,19,39,0,0,[1,18653,131],[],[[18654,2,40]]]],[]],[0,26,0,0,0,0,0,0,[1,18785,110],[[0,27,8,0,28,29,0,0,[1,18786,108],[],[[18787,2,30]]]],[]],[0,41,8,0,42,43,0,0,[1,18895,35],[],[]],[0,32,8,0,33,0,0,0,[1,18930,2171],[],[]]]],[44,0,1,0,[],[1,21106,8944],[[0,6,0,0,0,0,0,0,[1,21108,5658],[[0,7,8,0,9,10,0,0,[1,21109,5650],[],[[21109,2,11]]],[0,12,8,0,13,14,0,0,[1,26759,7],[],[[26766,2,15]]]],[]],[0,16,0,0,0,17,0,0,[1,26767,245],[[0,18,8,0,19,20,0,0,[1,26768,244],[],[[26769,2,21]]]],[]],[0,37,0,0,0,38,0,0,[1,27013,132],[[0,18,8,0,19,39,0,0,[1,27014,131],[],[[27014,2,40]]]],[]],[0,26,0,0,0,0,0,0,[1,27146,97],[[0,27,8,0,28,29,0,0,[1,27146,97],[],[[27147,2,30]]]],[]],[0,41,8,0,42,43,0,0,[1,27243,462],[],[]],[0,32,8,0,33,0,0,0,[1,27705,2344],[],[]]]],[45,0,1,0,[],[1,30051,8494],[[0,6,0,0,0,0,0,0,[1,30052,5700],[[0,7,8,0,9,10,0,0,[1,30053,5690],[],[[30053,2,11]]],[0,12,8,0,13,14,0,0,[1,35744,8],[],[[35752,2,15]]]],[]],[0,45,0,0,0,0,0,0,[1,35753,79],[[0,27,8,0,28,46,0,0,[1,35754,77],[],[[35754,2,47]]]],[]],[0,32,8,0,33,0,0,0,[1,35832,2712],[],[]]]],[48,0,1,0,[],[1,38548,8253],[[0,6,0,0,0,0,0,0,[1,38549,5566],[[0,7,8,0,9,10,0,0,[1,38550,5557],[],[[38550,2,11]]],[0,12,8,0,13,14,0,0,[1,44107,8],[],[[44115,2,15]]]],[]],[0,49,0,0,0,0,0,0,[1,44116,497],[[0,50,8,0,51,52,0,0,[1,44117,496],[],[[44118,2,53]]]],[]],[0,54,0,0,0,0,0,0,[1,44614,6],[[0,12,8,0,13,14,0,0,[1,44614,5],[],[[44619,2,15]]]],[]],[0,32,8,0,33,0,0,0,[1,44621,2179],[],[]]]],[55,0,1,0,[],[1,46805,7980],[[0,6,0,0,0,0,0,0,[1,46807,5742],[[0,7,8,0,9,10,0,0,[1,46807,5736],[],[[46810,2,11]]],[0,12,8,0,13,14,0,0,[1,52544,5],[],[[52549,2,15]]]],[]],[0,56,0,0,0,0,0,0,[1,52550,76],[[0,27,8,0,28,57,0,0,[1,52550,76],[],[[52551,2,58]]]],[]],[0,32,8,0,33,0,0,0,[1,52627,2157],[],[]]]]],[],[6,6,6,6]];
window.output["suite"] = [1,2,3,4,[],[1,0,50525],[],[[5,0,1,0,[],[1,252,8478],[[0,6,0,0,0,0,0,0,[1,253,5545],[[0,7,8,0,9,10,0,0,[1,253,5538],[],[[253,2,11]]],[0,12,8,0,13,14,0,0,[1,5791,6],[],[[5797,2,15]]]],[]],[0,16,0,0,0,17,0,0,[1,5798,247],[[0,18,8,0,19,20,0,0,[1,5799,246],[],[[5799,2,21]]]],[]],[0,22,0,0,0,23,0,0,[1,6046,121],[[0,18,8,0,19,24,0,0,[1,6047,120],[],[[6048,2,25]]]],[]],[0,26,0,0,0,0,0,0,[1,6167,104],[[0,27,8,0,28,29,0,0,[1,6168,103],[],[[6168,2,30]]]],[]],[0,31,0,0,0,0,0,0,[1,6271,7],[[0,12,8,0,13,14,0,0,[1,6272,5],[],[[6277,2,15]]]],[]],[0,32,8,0,33,0,0,0,[1,6278,2451],[],[]]]],[34,0,1,0,[],[1,8733,8363],[[0,6,0,0,0,0,0,0,[1,8734,5510],[[0,7,8,0,9,10,0,0,[1,8735,5501],[],[[8735,2,11]]],[0,12,8,0,13,14,0,0,[1,14236,8],[],[[14244,2,15]]]],[]],[0,16,0,0,0,35,0,0,[1,14245,271],[[0,18,8,0,19,20,0,0,[1,14246,270],[],[[14247,2,36]]]],[]],[0,37,0,0,0,38,0,0,[1,14517,126],[[0,18,8,0,19,39,0,0,[1,14517,125],[],[[14518,2,40]]]],[]],[0,26,0,0,0,0,0,0,[1,14643,93],[[0,27,8,0,28,29,0,0,[1,14644,91],[],[[14644,2,30]]]],[]],[0,41,8,0,42,43,0,0,[1,14736,27],[],[]],[0,32,8,0,33,0,0,0,[1,14763,2333],[],[]]]],[44,0,1,0,[],[1,17098,8910],[[0,6,0,0,0,0,0,0,[1,17099,5752],[[0,7,8,0,9,10,0,0,[1,17100,5744],[],[[17100,2,11]]],[0,12,8,0,13,14,0,0,[1,22844,7],[],[[22850,2,15]]]],[]],[0,16,0,0,0,17,0,0,[1,22852,258],[[0,18,8,0,19,20,0,0,[1,22853,256],[],[[22853,2,21]]]],[]],[0,37,0,0,0,38,0,0,[1,23110,127],[[0,18,8,0,19,39,0,0,[1,23111,126],[],[[23111,2,40]]]],[]],[0,26,0,0,0,0,0,0,[1,23238,99],[[0,27,8,0,28,29,0,0,[1,23238,99],[],[[23238,2,30]]]],[]],[0,41,8,0,42,43,0,0,[1,23338,484],[],[]],[0,32,8,0,33,0,0,0,[1,23823,2184],[],[]]]],[45,0,1,0,[],[1,26010,7912],[[0,6,0,0,0,0,0,0,[1,26011,5628],[[0,7,8,0,9,10,0,0,[1,26011,5621],[],[[26012,2,11]]],[0,12,8,0,13,14,0,0,[1,31633,6],[],[[31639,2,15]]]],[]],[0,45,0,0,0,0,0,0,[1,31639,79],[[0,27,8,0,28,46,0,0,[1,31640,77],[],[[31640,2,47]]]],[]],[0,32,8,0,33,0,0,0,[1,31718,2203],[],[]]]],[48,0,1,0,[],[1,33924,8751],[[0,6,0,0,0,0,0,0,[1,33924,5646],[[0,7,8,0,9,10,0,0,[1,33925,5636],[],[[33925,2,11]]],[0,12,8,0,13,14,0,0,[1,39562,7],[],[[39569,2,15]]]],[]],[0,49,0,0,0,0,0,0,[1,39570,581],[[0,50,8,0,51,52,0,0,[1,39572,579],[],[[39572,2,53]]]],[]],[0,54,0,0,0,0,0,0,[1,40152,5],[[0,12,8,0,13,14,0,0,[1,40152,5],[],[[40157,2,15]]]],[]],[0,32,8,0,33,0,0,0,[1,40157,2517],[],[]]]],[55,0,1,0,[],[1,42680,7839],[[0,6,0,0,0,0,0,0,[1,42682,5622],[[0,7,8,0,9,10,0,0,[1,42683,5615],[],[[42684,2,11]]],[0,12,8,0,13,14,0,0,[1,48298,6],[],[[48304,2,15]]]],[]],[0,56,0,0,0,0,0,0,[1,48304,89],[[0,27,8,0,28,57,0,0,[1,48305,87],[],[[48306,2,58]]]],[]],[0,32,8,0,33,0,0,0,[1,48393,2123],[],[]]]]],[],[6,6,6,6]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
Expand All @@ -1759,16 +1759,16 @@
window.output["strings"] = window.output["strings"].concat(["*","*Login Test","*F:\\DD-Dinner-Dog\\Demo-robot\\testcases\\login_test.robot","*login_test.robot","*<p>Simple example using SeleniumLibrary.\x3c/p>","*Valid Login","*Open Browser To DD Dinner Dog","*Open Browser","*SeleniumLibrary","*<p>Opens a new browser instance to the optional <code>url\x3c/code>.\x3c/p>","*${LOGIN URL}, ${BROWSER}","*Opening browser 'Chrome' to base url '<a href=\"http://localhost:3000/login\">http://localhost:3000/login\x3c/a>'.","*Title Should Be","*<p>Verifies that the current page title equals <code>title\x3c/code>.\x3c/p>","*DD Dinner Dog","*Page title is 'DD Dinner Dog'.","*Input Username","*${email}","*Input Text","*<p>Types the given <code>text\x3c/code> into the text field identified by <code>locator\x3c/code>.\x3c/p>","*id = username, ${username}","*Typing text 'nene199@gmail.com' into text field 'id = username'.","*Input Password","*${password}","*id = password, ${password}","*Typing text '2020' into text field 'id = password'.","*Submit Credentials","*Click Button","*<p>Clicks the button identified by <code>locator\x3c/code>.\x3c/p>","*id = login_button","*Clicking button 'id = login_button'.","*home Page Should Be Open","*Close Browser","*<p>Closes the current browser.\x3c/p>","*Invalid Login Case1 : log in with Unregister Email","*${new_email}","*Typing text 'banklnwza007@test.com' into text field 'id = username'.","*Input Password1","*${new_password}","*id = password, ${new_password}","*Typing text '2021' into text field 'id = password'.","*Wait Until Page Contains","*<p>Waits until <code>text\x3c/code> appears on the current page.\x3c/p>","*Login Fail.","*Invalid Login Case2 : log in with Email and Password not matched","*Forget Password","*id = forgot_password","*Clicking button 'id = forgot_password'.","*Register New User","*Register Credentials","*Click Link","*<p>Clicks a link identified by <code>locator\x3c/code>.\x3c/p>","*id = register","*Clicking link 'id = register'.","*register Page Should Be Open","*Switch role user : User to vet","*DD vet login","*id = DD_veter","*Clicking button 'id = DD_veter'."]);
</script>
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:53","fail":0,"label":"Critical Tests","pass":6},{"elapsed":"00:00:53","fail":0,"label":"All Tests","pass":6}],[],[{"elapsed":"00:00:55","fail":0,"id":"s1","label":"Login Test","name":"Login Test","pass":6}]];
window.output["stats"] = [[{"elapsed":"00:00:50","fail":0,"label":"Critical Tests","pass":6},{"elapsed":"00:00:50","fail":0,"label":"All Tests","pass":6}],[],[{"elapsed":"00:00:51","fail":0,"id":"s1","label":"Login Test","name":"Login Test","pass":6}]];
</script>
<script type="text/javascript">
window.output["errors"] = [];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1607677864242;
window.output["baseMillis"] = 1607684552975;
</script>
<script type="text/javascript">
window.output["generated"] = 54815;
window.output["generated"] = 50594;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;
Expand Down
Loading

0 comments on commit 3785580

Please sign in to comment.