-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
./node_modules | ||
./acceptance/stepDefinitions/NOTE.TXT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// const puppeteer =require('puppeteer') | ||
|
||
class EntityPage{ | ||
constructor() { | ||
|
||
|
||
|
||
|
||
} | ||
|
||
} | ||
module.exports = EntityPage; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Feature: entity | ||
As a user | ||
I want to create files and folders | ||
So I can manage the files and folders | ||
|
||
# Scenario: User Login with correct username and valid password | ||
# When user logs in with username "admin" and password "admin" | ||
# Then user should redirect to the homepage | ||
|
||
|
||
Scenario: user create a file | ||
Given the user has browsed to the login page | ||
And user logged in with username "admin123" and password "12345" | ||
When user creates a file "demo.txt" with content "hello world !!" | ||
Then user should see the "demo.txt" file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const { Given, When, Then } = require('@cucumber/cucumber'); | ||
const { expect, test, _android } = require('@playwright/test'); | ||
const assert = require("assert") | ||
|
||
|
||
|
||
|
||
|
||
|
||
Given('user logged in with username {string} and password {string}', function (string, string2) { | ||
// Write code here that turns the phrase above into concrete actions | ||
return 'pending'; | ||
}); | ||
|
||
When('user creates a file {string} with content {string}', function (string, string2) { | ||
// Write code here that turns the phrase above into concrete actions | ||
return 'pending'; | ||
}); | ||
Then('user should see the {string} file', function (string) { | ||
// Write code here that turns the phrase above into concrete actions | ||
return 'pending'; | ||
}); | ||
|
||
|
||
|