Skip to content

[Rust] Refactors#11832

Merged
diemol merged 11 commits intoSeleniumHQ:trunkfrom
oriongonza:refactors
Apr 5, 2023
Merged

[Rust] Refactors#11832
diemol merged 11 commits intoSeleniumHQ:trunkfrom
oriongonza:refactors

Conversation

@oriongonza
Copy link
Copy Markdown
Contributor

Description

General refactors in the selenium manager

Motivation and Context

I was going to add a new functionality and found some code that could get updated.

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Changes

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 29, 2023

CLA assistant check
All committers have signed the CLA.

@oriongonza oriongonza changed the title Refactors [Rust] Refactors Mar 29, 2023
@oriongonza oriongonza mentioned this pull request Mar 30, 2023
8 tasks
@titusfortner titusfortner requested a review from bonigarcia March 30, 2023 15:11
Copy link
Copy Markdown
Member

@bonigarcia bonigarcia left a comment

Choose a reason for hiding this comment

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

Hi @dev-ardi. Are you using cargo fmt to format the code in this PR?

@oriongonza
Copy link
Copy Markdown
Contributor Author

Buenos días @bonigarcia,

Yes I am, that's the reason behind the commit ac551af
Are you using another formatter?

@bonigarcia
Copy link
Copy Markdown
Member

We also use cargo fmt, thanks!

@diemol
Copy link
Copy Markdown
Member

diemol commented Apr 4, 2023

@dev-ardi could you please sign the CLA and resolve the conflicts?

@oriongonza
Copy link
Copy Markdown
Contributor Author

Done

Copy link
Copy Markdown
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Seems tests are failing.

@oriongonza
Copy link
Copy Markdown
Contributor Author

I have no idea how to merge these locally😞

@diemol
Copy link
Copy Markdown
Member

diemol commented Apr 5, 2023

@AutomatedTester
Copy link
Copy Markdown
Member

@dev-ardi hey, we have numerous chat services all interconnected if you're interested.

https://www.selenium.dev/support/

It might mean you get quicker answers as people might not always be watching GitHub notifications. We would love for you to join us and come hang out

Copy link
Copy Markdown
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

Thank you, @dev-ardi!

Congratulations on your first contribution 🎉

@diemol diemol merged commit 4bf979b into SeleniumHQ:trunk Apr 5, 2023
@oriongonza oriongonza deleted the refactors branch April 5, 2023 09:31
yashcho pushed a commit to yashcho/selenium that referenced this pull request Apr 7, 2023
* Refactor so that it's more concise

* cargo fmt

* I found it too verbose

* String interpolation

* Since the error message is the same now put it in the chain.

* Added never return type so I can remove the calls to exit()

---------

Co-authored-by: ogonzalez <[email protected]>
Co-authored-by: Diego Molina <[email protected]>
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.

6 participants