Skip to content

first level review #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

first level review #11

wants to merge 1 commit into from

Conversation

samiran-bs
Copy link

No description provided.

@@ -27,12 +27,12 @@ The Selenium tests are run on different platforms like on-prem, docker and Brows

Maven:
```sh
mvn install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why skipping tests? if they are failing they should be fixed.

Copy link
Collaborator

@samirans89 samirans89 Dec 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intention is not to skip the tests but to have build and test commands separated out.
the test commands are already called out as we progress through the readme.
the install command with tests will give users a bad experience since they haven't followed the "Prerequisites" section for the default profile of the readme yet

which is here: Prerequisites

```

Gradle:
```sh
gradle build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above.

@@ -19,25 +19,21 @@ dependencies {
testImplementation 'com.browserstack:browserstack-local-java:1.0.6'
testImplementation 'org.apache.commons:commons-lang3:3.11'
testImplementation 'org.slf4j:slf4j-api:1.7.30'
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this library?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i couldn't find the usage in the first level glance of the repo. okay to keep if this is being used.

Comment on lines -32 to -35
group = 'com.browserstack'
version = '0.0.1-SNAPSHOT'
description = 'browserstack-examples-cucumber-testng'
java.sourceCompatibility = JavaVersion.VERSION_1_8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reason to remove?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are picking up from remote URL right?

I added - "testImplementation 'com.browserstack:webdriver-framework-testng:0.0.1'"

I believe the above code picks up the lib locally. is that needed?

Comment on lines -59 to -64
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<scope>test</scope>
</dependency>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

Comment on lines -8 to -12
/**
* Created with IntelliJ IDEA.
*
* @author Anirudha Khanna
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please edit the docs not remove them

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed since we have not followed this throughout the repos... even for this repo ... it is not consistently followed across all files. can we descope for now?

Comment on lines -19 to -23
/**
* Created with IntelliJ IDEA.
*
* @author Anirudha Khanna
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed since we have not followed this throughout the repos... even for this repo ... it is not consistently followed across all files. can we descope for now?

Comment on lines -42 to -46
# - name: OSX_BigSur_Chrome_Latest
# os: OS X
# os_version: Catalina
# browser: Safari
# browser_version: '13.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we add it back.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could... wasn't sure on why we commented out. hence removed for now.

Comment on lines -52 to -56
# - name: iOS_iPhone XS_13.0
# os: iPhone
# os_version: '13.0'
# device: iPhone XS
# real_mobile: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we add it back as uncommented.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could... wasn't sure on why we commented out. hence removed for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants