-
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
38 changed files
with
3,428 additions
and
0 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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="lib" path="libs/cucumber/cucumber-junit-4.2.3.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry exported="true" kind="lib" path="libs/client-combined-3.141.59-sources.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/client-combined-3.141.59.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/libs/byte-buddy-1.8.15.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/libs/commons-exec-1.3.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/libs/guava-25.0-jre.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/libs/okhttp-3.11.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/libs/okio-1.14.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/cucumber/cobertura-2.1.1.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/cucumber/cucumber-core-4.2.3.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/cucumber/cucumber-java-4.2.3.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/cucumber/cucumber-jvm-deps-1.0.6.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/cucumber/cucumber-reporting-4.4.0.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/cucumber/junit-4.2.jar"/> | ||
<classpathentry exported="true" kind="lib" path="libs/cucumber/mockito-all-2.0.2-beta.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> | ||
<classpathentry kind="lib" path="libs/cucumber/gherkin-2.12.2.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>assignment-b</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
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,12 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.8 |
Binary file added
BIN
+8.33 KB
bin/test/java/com/ecse428/cucumber/SendEmailWithAttachmentStepDefinitions.class
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,52 @@ | ||
Feature: gmail | ||
|
||
Scenario: Send an email with an attachment to a recipient | ||
Given I am logged in to gmail on my homepage | ||
When I click on Compose | ||
And I add a recipient to my message | ||
And I add a subject to my message | ||
And I add an attachment to my message | ||
And I click Send | ||
Then the recipient receives the message with the right subject and attachment | ||
|
||
Scenario: Send email on google chrome with different attachment and subject | ||
Given I am logged in to gmail on my homepage | ||
When I click on Compose | ||
And I add a different recipient to my message | ||
And I add a different subject to my message | ||
And I add a different attachment to my message | ||
And I click Send | ||
Then the recipient receives the message with the right subject and attachment | ||
|
||
Scenario: Send an email with no subject to a recipient | ||
Given I am logged in on the gmail homepage | ||
When I click on Compose | ||
And add a recipient to my message | ||
And add an alternate attachment to my message | ||
And I click Send | ||
And I accept the prompt window | ||
Then the recipient receives the message with no subject and an attachment | ||
|
||
Scenario: Send an email without specifying a recipient | ||
Given I am logged in on the gmail homepage | ||
When I click on Compose | ||
And I add a subject to my message | ||
And I add an attachment to my message | ||
And I click Send | ||
Then an error message is displayed specifying to add a recipient | ||
|
||
Scenario: Send an email with an attachment that is too large | ||
Given I am logged in on the gmail homepage | ||
When I click on Compose | ||
And I add a subject to my message | ||
And I add a large attachment to my message | ||
And I click Send | ||
Then an error message is displayed specifying the attachment is too large | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Binary file not shown.
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,4 @@ | ||
[0226/223327.753:ERROR:file_io.cc(134)] WriteFile: There is not enough space on the disk. (0x70) | ||
[0226/223327.754:ERROR:crash_report_exception_handler.cc(111)] WriteEverything failed | ||
[0226/223327.755:ERROR:filesystem_win.cc(148)] DeleteFile C:\Users\Rami\AppData\Local\Temp\scoped_dir15712_17235\Crashpad\reports\132f410f-8b87-4491-9024-832e445cc027.dmp: The process cannot access the file because it is being used by another process. (0x20) | ||
[0226/223420.201:ERROR:filesystem_win.cc(148)] DeleteFile C:\Users\Rami\AppData\Local\Temp\scoped_dir16252_23646\Crashpad\reports\6ac03a78-7e98-4d95-9526-6df48fea6ecd.dmp: The process cannot access the file because it is being used by another process. (0x20) |
Binary file not shown.
Oops, something went wrong.