mmctl icon indicating copy to clipboard operation
mmctl copied to clipboard

Add e2e tests for disable plugin command

Open akshaychhajed opened this issue 3 years ago • 20 comments

Summary

Add e2e tests for disable plugin command

Ticket Link

Fixes https://github.com/mattermost/mattermost-server/issues/16078

akshaychhajed avatar Oct 31 '20 11:10 akshaychhajed

Hello @akshaychhajed,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

mattermod avatar Oct 31 '20 11:10 mattermod

Please feel free to request my review when it's ready.

agnivade avatar Nov 23 '20 03:11 agnivade

@agnivade ok. I will.

akshaychhajed avatar Nov 23 '20 03:11 akshaychhajed

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

mattermod avatar Dec 04 '20 01:12 mattermod

@akshaychhajed Let us know if you have any questions about the previous feedback, we'd be happy to help :)

jasonblais avatar Dec 09 '20 19:12 jasonblais

@jasonblais i am away from keyboard and be back over weekend. I will update when i am back.

akshaychhajed avatar Dec 11 '20 12:12 akshaychhajed

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

mattermod avatar Dec 24 '20 01:12 mattermod

Hi, @akshaychhajed - checking in on this PR also to see if you've made progress or need any additional help :)

jfrerich avatar Jan 04 '21 17:01 jfrerich

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

mattermod avatar Jan 15 '21 01:01 mattermod

Hi @akshaychhajed! Just checking in again to see if you need any help. I'd love to get this merged, or open it back up for another contributor

jfrerich avatar Jan 19 '21 18:01 jfrerich

@jfrerich I want to get this merged too. Sorry, I was away from keyboard.

akshaychhajed avatar Jan 20 '21 02:01 akshaychhajed

No worries, @akshaychhajed! I was just checking in to make sure the PR wasn't abandoned :) Let us know if you need any assistance!

jfrerich avatar Jan 20 '21 23:01 jfrerich

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

mattermod avatar Jan 31 '21 01:01 mattermod

Hey @akshaychhajed! Let me know if you have time to take action on this, otherwise I'll need to update the status as per our inactive contribution guidelines

emilyacook avatar Feb 03 '21 21:02 emilyacook

Thank you for your patience! I updated PR with requested changes.

I could not get the pluginID for test. I have marked the plugin constant below https://github.com/mattermost/mmctl/pull/275/files#diff-cd6aeaed48e9efc5c7a1b72d620073ca953d5e724099f7bc74206a33a2a81afcR18

akshaychhajed avatar Feb 04 '21 04:02 akshaychhajed

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

mattermod avatar Feb 15 '21 01:02 mattermod

@akshaychhajed can you please take a look at the test that is failing in the CI?

--- FAIL: TestMmctlE2ESuite/TestPluginDisableCmd (5.04s)
plugin_e2e_test.go:156: 
      	Error Trace:	plugin_e2e_test.go:156
       	            				plugin_e2e_test.go:27
       	Error:      	Expected nil, but got: invalid url /go/src/github.com/mattermost/mattermost-server/tests/testplugin.tar.gz
       	Test:       	TestMmctlE2ESuite/TestPluginDisableCmd

mgdelacroix avatar Feb 19 '21 10:02 mgdelacroix

@mgdelacroix sure. Let me take a look.

akshaychhajed avatar Feb 19 '21 10:02 akshaychhajed

@mgdelacroix I used the path @isacikgoz suggested here

Unfortunately DownloadFromUrl expects a http path. https://github.com/mattermost/mattermost-server/blob/8d6dd195e1d8cdcd2ed7aaa12da95125cc2033c4/app/download.go#L26

Is there http path for test plugin? I also need test plugin id.

akshaychhajed avatar Feb 19 '21 11:02 akshaychhajed

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

mattermod avatar Mar 03 '21 01:03 mattermod

/update-branch

isacikgoz avatar Nov 21 '22 08:11 isacikgoz

Error trying to update the PR. Please do it manually.

mattermod avatar Nov 21 '22 08:11 mattermod

/update-branch

isacikgoz avatar Nov 25 '22 06:11 isacikgoz

Thank you for your contribution. :+1: mmctl has been moved into https://github.com/mattermost/mattermost/tree/master/server/cmd/mmctl. Please resubmit your PR to https://github.com/mattermost/mattermost.

hanzei avatar Aug 08 '23 11:08 hanzei