Comments (9)
from selmvp.
SelMVP\1.0.5\Module.psm1
I'll see if I can repro the original problem.
This is possibly related - this code block actually errors:
MVPActivity "Twitter" {
Area "Technical Social Media (Twitter, Facebook, LinkedIn...)"
Visibility 'Microsoft'
ContributionArea ".NET"
Value "Date" "13/03/2023"
Value "Title" "Twitter"
Value "URL" "https://twitter.com/DavidRGardiner"
Value "Description" "Personal Twitter account"
Value "Number of Talks" 1
Value "Number of Followers" 1
}
New-MVPActivity : Exception calling "Invoke" with "0" argument(s): "Exception calling "Click" with "0" argument(s):
"Element <li class="Item"> could not be scrolled into view""
At C:\Program Files\WindowsPowerShell\Modules\SelMVP\1.0.5\Module.psm1:2292 char:9
(I am in Australia, but yes the date format is fine - it gets converted to what the UI is happy with)
In this case, if I remove the Visibility
line altogether, it submits it successfully.
from selmvp.
This one reproduces the original problem for me though:
MVPActivity "Test" {
Area "Sample Code/Projects/Tools"
Visibility 'Microsoft'
ContributionArea "Visual Studio Extensibility"
Value "Date" "13/03/2023"
Value "Title" "Test"
Value "URL" "https://marketplace.visualstudio.com"
Value "Description" "Example"
Value "Number of Samples" 1
Value "Number of Downloads" 1
}
The activity is added, but visibility is set to 'Everyone'
from selmvp.
No worries. I'm AUS based as well. :-p Out of curiosity what driver/browser are you using?
from selmvp.
Firefox and geckodriver-v0.32.2-win64
from selmvp.
Thanks for that. I'm investigating now.
from selmvp.
I've gotten to the bottom of the issue. The JavaScript isn't catching up to the click event, causing the event to fail. I've refactored the cmdlet and wrapped the logic within looping try/catch (ttry). I need to do some more testing, however I will release a new version tomorrow.
from selmvp.
New version is out. Please confirm the issue has been fixed on your end.
https://www.powershellgallery.com/packages/SelMVP/1.0.6
from selmvp.
Thanks. I've done most of my activities, but if I think of any more I'll try it out.
from selmvp.
Related Issues (19)
- Update Publish-Module adding additional parameters HOT 1
- Fix Documentation
- Fix Issues with Edge Browsers HOT 1
- Fix Spelling and Unit Tests with Try-TentativeCommand
- Review Documentation and HTML Layout of Portal and Update if Required
- Add Selenium Driver Updates for Browsers
- Fix WebDriver Issues with MSEdge HOT 1
- Review Mandatory Fields for MVP Entries
- Troubleshoot intermittent Error 500 HOT 1
- Update top-level documentation HOT 1
- Add Contribution Visibility
- Update Award Category and Contribution Areas
- PowerShell 7 issue HOT 6
- Update Documentation to include explicit instructions about 64 bit drivers
- ReTest Functionality within PowerShell 7
- Could not match name 'M' with HTMLFormStructure HOT 4
- Non-Required Fields are being required
- Parameterized Input (including CSV). JavaScript in Portal causing the form to crash or to load incorrectly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selmvp.